Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2005 16:34:52 -0700
From:      garys@opusnet.com (Gary W. Swearingen)
To:        Robin Smith <rasmith@aristotle.tamu.edu>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: reorganizing partitions
Message-ID:  <xwirxwfcrn.rxw@mail.opusnet.com>
In-Reply-To: <200508231933.j7NJXWje034814@aristotle.tamu.edu> (Robin Smith's message of "Tue, 23 Aug 2005 14:33:32 -0500")
References:  <200508231933.j7NJXWje034814@aristotle.tamu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Robin Smith <rasmith@aristotle.tamu.edu> writes:

> I intend to do this by the appropriate ugly mess of cp -pRP commands

I can't comment on vinum issues, but "cp -pR" (-P is default) doesn't
handle stuff like file attributes, AFAIK.  Check, but I think 4.11 has
the new FreeBSD "tar" (not "gtar") which is the think to use if you
can't use dump/restore.  Read your manual, but it's something like:

tar cf - --one-file-system -C $SRCDIR . | tar xkpPf - -C $DSTDIR

(I esp. wonder about "kpP".)



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