On Thu, Oct 12, 2000 at 02:58:20PM -0400, [EMAIL PROTECTED] wrote:
> Someone posted a message on the list a while back stating RedHat was
> trying to move their distribution towards being more compliant with
> the Filesystem Hierarchial Standard. I would like to learn the proper
> way to setup a few things, but have not the experience with linux to
> fully understand the differences between the filesystems.
One thing you have to take into account when studying the FHS is that
90% of the policy decisions are based on two questions 'what can I nfs
mount from a common server?' and 'what directories should be on separate
filesystems to keep them from killing each other?'
> My first question is when should you use /opt vs. /usr/local? The
> standard defines both, but with my lack of experience they sound
> equivalent to one another, but they must be for different purposes,
> but what I did not understand.
Historically, /usr/local is for locally compiled and/or written
software. /opt is for commercially packaged/bundled software.
Treat /usr/local as an extension of /usr for storing things you
installed by hand that weren't included with the OS. /usr/local is
sometimes nfs mounted between systems, but not usually.
If you go out and by some boxed set 'FooWorks', it usually gets
installed in /opt. /opt is often nfs mounted between systems.
Each subdir in /opt is typically arranged just like /usr/local (ie, it's
own bin/ lib/ doc/ man/ sub-directories).
> CVS - Am I correct in my understanding that the CVSROOT should be
> under /var since it is variable data and not /usr/local which is for
> applications and their respective files.
Theoretically, the cvs repository should be on it's own partition mounted
off of the root directory somewhere like /cvs or /cvsroot
Barring that, it should probably go in /var
> Groups - If you have a group working on a project where do you put
> the groups information. I am assuming you would put it in /home and
> make the directory the default home directory of the group.
/home shouldn't be used for anything other than home directories. This
is because the autofs tool (which automatically mounts your home
directory onto whichever machine you happen to log in on) get's annoyed
with anything in in /home. RH7 was the first version of RH Linux which
obeys this rule.
Again, these kinds of files would optimally be on their own partition,
but otherwise they should probably go on the same filesystem as /home so
the data gets included in whatever backup scheme you use.
--
Steve Borho Voice: 314-439-8342
Member of Technical Staff
Celox Networks Inc http://www.ietf.org/rfc/rfc1925.txt
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list