From: Lars Hecking (lhecking at domain nmrc.ucc.ie)
Date: Wed 20 Oct 1999 - 16:54:23 IST
John Mc Donald writes:
> If I want to make a copy of one ext2 partition to another is mounting
> the new drive and old drive and simply typing
> cp -d -R -p -x /mnt/olddrive/* /mnt/newdrive
> the best thing to do.
I'd use something like
cd /mnt/olddrive
tar cf - . | ( cd /mnt/newdrive && tar xf - )
and you should be root for this. You could also use dump and restore.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:46 GMT