Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2006 19:37:39 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
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:  <4554B8E3.1050604@icyb.net.ua>
In-Reply-To: <1163175782.00634431.1163163003@10.7.7.3>
References:  <1163175782.00634431.1163163003@10.7.7.3>

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



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