Not sure what happened to the original poster here...

Anyway I was just thinking there's the system util 'pax' which is very
good for copying filesystems (handles permissions, symlinks, irregular
files quite well).

There's a few lines on it in one of the FreeBSD articles I think...
mmm ok it's quite a small section - 4.2 in this article:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/formatting-media/x211.html

The text is here:

> 4.2 Copying the Contents of Disks
> Submitted By: Renaud Waldura (<[EMAIL PROTECTED]>)
> 
> To move file from your original base disk to the fresh new one, do:
> 
> # mount /dev/ad2 /mnt
> # pax -r -w -p e /usr/home /mnt
> # umount /mnt
> # rm -rf /usr/home/*
> # mount /dev/ad2 /usr/home

I've used pax in the past to migrate filesystems with success.

Jez
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to