On Mon, Jan 15, 2001 at 02:50:30PM -0800, Tony Mueller <[EMAIL PROTECTED]> wrote:
| Here is my df:
| 
| Filesystem           1k-blocks      Used Available Use% Mounted on
| /dev/sda6              1035660     52848    930204   5% /
| /dev/sda3                23333      5947     16182  27% /boot
| /dev/sda9               679880        40    645304   0% /tmp
| /dev/sda5              2071384   1556028    410132  79% /usr
| /dev/sda8               256667     17707    225708   7% /var
| /dev/sda2              4134932   1878968   2045916  48% /home
| 
| I would like to switch /usr to sda2 and /home to sda5
| (I want /usr to be on the 4G partiton)
| I have copied everything from /usr to /home and from /home to /usr.
| Now I'd like to 
| mv home homeTmp          -- and stay on filesystem sda2 (just rename and not
| move anything)
| mv usr home
| mv homeTmp usr
| 
| Then make the switch in fstab and reboot.

If you've already moved the data (yes?) you can just change the mount points
in the fstab and reboot. On the next boot it will mount the partitions on
their new locations. No "mv home homeTmp" etc is necessary.
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

library, n., a place with a large number of people, a slightly larger number
        of books, and a very small number of photocopiers, of which at any
        given time at least 50% will be out of order.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to