Sorry for not being more clear.

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.

Im I going about this problem wrong??

Thanks.
Tony


On Mon, Jan 15, 2001 at 12:34:39PM -0800, Tony Mueller
<[EMAIL PROTECTED]> wrote:
| I would like to rename a large directory without a copy taking place.
| (i dont have disk space for both directories to exist at the same time)
| the command:
| mv olddir newdir
| makes newdir first and copies all the files from olddir into it.



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

Reply via email to