On Sun, 22 Dec 2002, Ian Douglas wrote:
Thanks for the suggestion Steve. I must admit I did actually use the cp command to copy /home to the new partition without problems but have a nagging worry in the back of my head that someone on the list had loads of hassle trying to copy system directories earlier in the year. I seem to remember it was symbolic links and special system files which didn't copy correctly and caused the problems. Unfortunately, although I found the message thread interesting I forgot to write down the eventual solution but I *think* in the end they used a short shell script which used ls to read in the directory names, the resulting list being tweaked somehow within the script before being passed to tar (or may have been cpio???) to do the actual copying. Unfortunately I forgot to write the script down. I guess though you are correct and the simplest thing would be for me to try the cp command string you suggested first and see what happens on the subsequent bootup (after editing fstab and rerunning lilo).
When you isue the cp command use cp -pd WHATEVER...
-p keeps ownership permissions the same -d is no dereference, ie it copies sym links as symlinks, and doesn't convert them to regular files, so by the time you've got everything to where you want it, it should all work.
Hope that helps
Chris