Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2006 13:32:53 +0100 (CET)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-stable@FreeBSD.ORG, aburke@nullplusone.net, gamato@users.sourceforge.net
Subject:   Re: adding an extra hard disk and adding space to /usr
Message-ID:  <200611101232.kAACWrmW074634@lurza.secnetix.de>
In-Reply-To: <PGENKKAMCLFNBHPINBGAIEOBDAAA.aburke@nullplusone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611101232.kAACWrmW074634>