Problems with new stuff in Debian 2.2

Thomas Lange lange at informatik.Uni-Koeln.DE
Thu Jun 8 10:34:49 CEST 2000


#!/bin/sh -x
 
> (cd /; tar cvf - usr/bin/cfengine) | (cd /usr/lib/fai/nfsroot/; tar xpf -)
> (cd /; tar cvf - usr/bin/file) | (cd /usr/lib/fai/nfsroot/; tar xpf -)
> (cd /; tar cvf - usr/bin/rcp) | (cd /usr/lib/fai/nfsroot/; tar xpf -)
> (cd /; tar cvf - usr/bin/rsh) | (cd /usr/lib/fai/nfsroot/; tar xpf -)
> (cd /; tar cvf - usr/sbin/ntpdate) | (cd /usr/lib/fai/nfsroot/; tar xpf -)
> (cd /; tar cvf - usr/sbin/rdate) | (cd /usr/lib/fai/nfsroot/; tar xpf -)
> (cd /; tar cvf - usr/bin/wget) | (cd /usr/lib/fai/nfsroot/; tar xpf -)
> (cd /; tar cvf - usr/lib/perl5/5.005/CPAN/) | (cd /usr/lib/fai/nfsroot/; tar xpf -)
> (cd /; tar cvf - usr/lib/perl5/5.005/Getopt/) | (cd /usr/lib/fai/nfsroot/; tar xpf -)
> (cd /; tar cvf - usr/share/misc/magic) | (cd /usr/lib/fai/nfsroot/; tar xpf -)  
> 

I this it's better to write

tar -C / -cvf usr/bin/cfengine usr/bin/file /usr/bin/rcp ...... | tar -C /usr/lib/fai/nfsroot -xpf -

or better 

cp -dpR usr/bin/cfengine usr/bin/file /usr/bin/rcp .... /usr/lib/fai/nfsroot

-- 
Gruss Thomas
----------------------------------------------------------------------
            Thomas Lange
Institut fuer Informatik        mailto:lange at informatik.Uni-Koeln.DE
   Universitaet zu Koeln
            Pohligstr. 1        Telefon: +49 221 470 5303
             50969 Koeln        Fax    : +49 221 470 5317
----------------------------------------------------------------------



More information about the linux-fai mailing list