On Wed, 27 Sep 2000, you opined:
>On Tue, Sep 26, 2000 at 09:47:40PM -0500, Uncle Meat wrote:
>
>> Since /usr/lib is on a partition by itself, it can be mounted as /usr/lib
>> and not need a symlink. You just need a directory in /usr named lib and an
>> fstab entry defining it, much like the way I do a few. A couple of examples:
>
>Thanks.  That would work for this computer because /usr/lib is the only
>thing on that partition.  However, I have another computer with a
>similar setup, and I copied more than one directory tree to it.  For
>example, /usr/lib and /home.  That setup prevents me from mounting it
>as you were talking about above (I think, correct me if I'm wrong). 
>What should I do in that situation?

If the top level directory is /usr/lib (for example) and others are
installed within or under lib you can symlink those to the proper
directory.

 For instance, say you have a large partition. You set the top
level of it up as /usr/lib. Inside (also at the top of the partition) you
have added var with a symlink. You can still mount the partition as
/usr/lib and symlink var to /var.

Another. Say you have a large partition (again) and it is /home/httpd and
within that same partition is a directory called symlink. In the symlink
directory is var, user1 and usr/local (in this case simply local). You can
mount the top as /home/httpd. Then these commands:

        ln -s /home/httpd/symlink/var /
        ln -s /home/httpd/user1 /home
        ln -s /home/httpd/local /usr

Those all would work. Note that this is NOT the best way to do things. But
sometimes we have to fix problems to correct things that come up after
things are set up.

I personally use symlinks to elements of the /usr/src/redhat directory to
place i386, i586 and noarch where I can get to them easier (/). I also keep
/var/spool/news and /etc/rc.d/init.d at the top for a few reasons. These are
all directories I access regularly.



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

Reply via email to