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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: joe@actionline.com
Date:  
To: plug-discuss
Subject: What syntax to specify 'cp' to /dev/sda6 ?

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




---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss