HOWTO? I want to add an additional HD

Rick Thomas yellowdog-general@lists.terrasoftsolutions.com
Sun Aug 11 19:06:01 2002



> On Sun, 11 Aug 2002 19:10:27 -0400
> Stefan Bruda <bruda@ubishops.ca> wrote:
> 
> 

>>o Then, move the content of /home to its new location:
>>
>>     mv /home/* /some-unused-hairy-name


>>  



Actually, a pipeline such as

    cd /home ; tar cvf - . | ( cd /some-unused-hairy-name ; tar xpvf - )

would do a better job because it doesn't delete things after moving 
them.  This allows you to poke around in the new file system and make 
sure you're happy with the results before you delete the old contents of 
/home.  See (man tar) or (info tar) for options that may be useful.

Or you could use "cpio -p" -- which is specifically designed for this 
kind of application.  See (man cpio) for details.

enjoy!

Rick