> as the suggestted # tar -cvf - * | ( cd /mnt; tar -xpf - ) > cp -a /home /mnt/home
Not exactly. cp -a may do the job, but permissions need to be enforced. That's the job of the 'p' (preserve permissions) flag. Without that all the files may not have the right permissions and ownerships, and that can screw things up. Secondly, you may have missed one of my points. You don't copy to 'home' on /mnt. You copy home over to /mnt. For instance, I have some users in /home - such as dfox (me). If I mount my /home on /mnt, all I see are the directories (dfox, root, ftp, and so forth.) If I mount this partition on /mnt, it's /mnt/dfox, on home, it's /home/dfox. In other words, the directories on the partition have /home/ added to them by virtue of it being mounted underneath /home -- i.e., replacing the previous content of /home (i.e., empty) with a number of directories and/or files. If you start with 'home' on /mnt you end up with /home/home/username...
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
