reorganizing partitions

Gary W. Swearingen garys at opusnet.com
Tue Aug 23 23:33:22 GMT 2005


Robin Smith <rasmith at 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".)


More information about the freebsd-questions mailing list