Using the example I gave you could move everything to /home/usr.  Then umount 
/usr
and link the new /home/usr to /usr.

# mkdir /home/usr
# cd /usr
# tar cf - . | (cd /home/usr; tar xf -)
# cd /
# umount /usr
# ln -s /home/usr  /usr

You would also need to remove the entry that causes the old /usr to be mounted 
at
reboot.

This should work for most Unix OSes.  There is a slight potential for some 
"gotchas"
with some older OSes such as SunOS, but I'm assuming you're using something 
current
(probably Linux?).


Ben Beeson wrote:

> Rick,
>
>         I got the tar part, nice trick.  But I only have about 7% usable 
> filespace
> left on the /usr partition.  The real fix I need is one that makes the system
> think it is looking at /usr when the actual files may reside on say /home/usr
> or someother filesystem so all the gadgets that need to use files in /usr can
> still find them.  Any ideas???
>
> VR,
>
> Ben

Reply via email to