On Tue, 2003-11-04 at 10:20, Mark A. Hershberger wrote:
> Joey Kelly <joey@joeykelly.net> writes:
>
> > When I say "copy", this might be more involved than "cp -R". I moved a
> > partition once, and it wasn't fun. YMMV.
>
> # (cd /old/partition; tar cf - .) | (cd /new/partition; tar xf -)
>
> Or, for extra geek points, you could use cpio.
>
> # (cd /old/partition; find . -type f -print0 | cpio -0o ) |
> (cd /new/partition; cpio -i -d)
But what benefit does "tar |" have over
# mv /home /home.old
# umount /home
# mkfs.reiserfs ...
# vi /etc/fstab
# mount /home
# mv /home.old /home
Those 6 steps were about as easy as could be.
-- ----------------------------------------------------------------- Ron Johnson, Jr. ron.l.johnson@cox.net Jefferson, LA USA 4 degrees from Vladimir Putin ___________________ Nolug mailing list nolug@nolug.orgReceived on 11/04/03
This archive was generated by hypermail 2.2.0 : 12/19/08 EST