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. I would appreciate any help with the
proper command line syntax necessary to accomplish this from a brain more
awake then mine obvously is at the moment.
 I realize this will also require changes to the fstab file once the data
has been moved. Current fstab looks like this:

/dev/hda6 / reiserfs notail 1 1
/dev/hdb1 //usr reiserfs defaults 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hda7 /home reiserfs defaults 1 2
/dev/hdc1 /home2 reiserfs defaults 1 2
/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount fs=iso9660,dev=/dev/cdrom2 0 0
/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
none /proc proc defaults 0 0
/dev/hda5 /var reiserfs defaults 1 2
/dev/hda1 swap swap defaults 0 0

 Any help for the brain dead would be appreciated greatly.
        Thank You,
                David M. Kufta



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

Reply via email to