[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Symbolic link for /usr directory



On Tue, 5 Jun 2001, shimi wrote:

> 
> On Tue, 5 Jun 2001 johan@xxxxxxxxxx wrote:
> 
> > Something about the RaQ 4i that I find somewhat annoying, is the fact that the
> > /usr directory isn't mounted on the /home filesystem.  I've just installed the
> > Java toolkit, and the root filesystem is some 87% full (was 78% before the
> > installation).
> > 
> > One option is to copy the /usr directory to /home/usr, and create a symbolic
> > link such as /usr -> /home/usr.  Is there any reason why one should *not* do
> > that?  There shouldn't be, /opt and /tmp already points to /home/opt and
> > /home/tmp.
> > 
> > Rgrds,
> > 
> > Johan
> > 
> 
> A symbolic link is transparent to the software. The programs don't even
> know they're writing to a different directory than the one they've
> requested. There's no problem at all doing what you want to do...

However, i'd verify that ldconfig is run *after* mounting /home if you do
this, as there are shared libraries in /usr/lib ;)

Also, doing this means many of your system tools won't be available if you
have to boot the machine with /home not mounted for maintainance..

Perhaps just move /usr/local ?

gsh