on 10/11/2006 14:32 Oliver Fromme said the following:
> Aaron Burke wrote:
>  > SNIP
>  > > >    (FreeBSD 4.x)  : cd /usr; tar clpf - . | (cd /mnt; tar xvf -)
>  > > >    (FreeBSD 5.x+) : cd /usr; gtar clpf - . | (cd /mnt; gtar xvf -)
>  > > iirc tar(1) has changed in 5.3.  why do you use gtar please? is new tar
>  > > missing something?
>  > Well, technically no, but it requires more typing.
> 
> That's why I prefer to use cpio:
> 
> cd /usr; find -dx . | cpio -dump /mnt
> 
> which works on _any_ version of FreeBSD out of the box.

$ pax rw /usr /mnt
is even less typing and works on any system with POSIX-compliant
utilities :-)
Not to mention all other goodies that pax provides (I especially like -s
option).

-- 
Andriy Gapon
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to