Joe, pls allow me to disect this:
Given:
> /dev/sda1 12G 5.7G 5.6G 51% /
> /dev/sda6 168G 23G 146G 14% /home
The command:
> # cp -rp /home /home.cp
will copy everything in the '/home' directory which is mounted to /dev/sda6
to a directory /home.cp, which will be under '/' (root) and is mounted to
/dev/sda1
The correct command will be:
# cp -rp /home /home/home.cp
But that will create a circular problem and won't work...
If all you want is to 'reserve /home', why not:
tar jcf /home/home.tar.bz2 /home
ET
joe@actionline.com writes:
>
> 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 - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss