What syntax to specify 'cp' to /dev/sda6 ?

joe at actionline.com joe at actionline.com
Fri Jan 4 18:41:39 MST 2013


Since I have lots of space available on /dev/sda6,
I'd like to copy /home (which is on /dev/sda6 to
home.cp on that same sda6 drive.

But when I tried (as root) to do this:

# cp -rp /home /home.cp

I got an "out of space" error message because the
copy was being made onto /dev/sda1.

So, what syntax can I use to copy /home to /home.cp on /dev/sda6 ?


/dev/sda1              12G  5.7G  5.6G  51% /
tmpfs                 473M     0  473M   0% /dev/shm
/dev/sda6             168G   23G  146G  14% /home





More information about the PLUG-discuss mailing list