"Robert S. Mallozzi" <mallors@crazyhorse.msfc.nasa.gov> writes:
5. Copy all files under /home onto the new drive. There are several ways to do this, tar, cp -R, etc. Here is a crude (untested!) example:
cd /home tar -cvf /mnt/newhome.tar * <== can't remember if this gets the hidden files... cd /mnt tar -xvf newhome.tar rm newhome.tar
There are better ways to do this - this is just off the top of my head :-)
I would move /home like this. I've used this technique several times. AFAIK, I haven't lost anything yet. The dash writes to/reads from std I/O. And of course you could add a v to see the files being moved. cd /home tar -cf - . | (cd /mnt; tar -xf - ) HTH. -- Bud Rogers <budr@sirinet.net> formerly <budr@tanet.net> <A HREF="http://www.sirinet.net/~budr/zamm.html"><A HREF="http://www.sirinet.net/~budr/zamm.html</A">http://www.sirinet.net/~budr/zamm.html</A</A>> - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e