LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Moving filesystems, any problems? (https://www.linuxquestions.org/questions/linux-newbie-8/moving-filesystems-any-problems-303522/)

audibel 03-19-2005 08:47 AM

Moving filesystems, any problems?
 
Ok, I can cp -rp my home directory to a different partition and just change the fstab to reflect the change and it works fine, my question is should I be able to do the same thing with the rest of my filesystem without screwing everything up? Because I had Linux 2nd I put it on my 2nd harddrive, but now I have removed Windows XP (yah!) and I would like to transfer my filesystem to hda, possible problems with my method?

rgawenda 03-19-2005 09:36 AM

Better use this:

Quote:

-a, --archive
Preserve as much as possible of the structure and attributes of the original files in
the copy (but do not preserve directory structure). Equivalent to -dpPR.

audibel 03-19-2005 10:15 AM

Yeah I was having problems with -rp so I used -ax and it worked great, thanks!


All times are GMT -5. The time now is 06:50 PM.