"David M. Kufta" a �crit :
> 
> I have a clients machine that curently has a /usr mount point of /dev/hdb1
> /dev/hdb1             2.0G  1.5G  527M  74% /usr
> This client has a partition /dev/hdc1 which is currently mounted as /home2
> /dev/hdc1             7.9G   32M  7.8G   0% /home2
> 
> I would like to use /dev/hdc1 as /usr and know there is a cpio command
> syntax that will allow me to move his current /usr from hdb1 to hdc1 which
> has more available space and would better suit his needs, however the
> command line syntax escapes me.

What about (logged as root) :

cp -a /usr /home2/
mv /usr /usr.bak
ln -svf /home2/usr /usr
rm -rf /usr.bak

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to