adding an extra hard disk and adding space to /usr

Oliver Fromme olli at lurza.secnetix.de
Fri Nov 10 12:33:03 UTC 2006


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.

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"Clear perl code is better than unclear awk code; but NOTHING
comes close to unclear perl code"  (taken from comp.lang.awk FAQ)


More information about the freebsd-stable mailing list