Gregory Ruiz-Ade wrote:
> On Mar 21, 2007, at 12:04 PM, John H. Robinson, IV wrote:
> 
> >/home and /usr/local can also be network mounted (cifs or nfs).
> >You could, theoretcally, network mount /usr, but I have never seen  
> >that
> >in practice.
> 
> NFS-mounting /usr/local would then, ironically, not make it local  
> anymore.

It is site-local as opposed to common to the distro.

The FHS has this to say about it:

  /usr/local : Local hierarchy
  Purpose

  The /usr/local hierarchy is for use by the system administrator when
  installing software locally. It needs to be safe from being
  overwritten when the system software is updated. It may be used for
  programs and data that are shareable amongst a group of hosts, but not
  found in /usr.

  Locally installed software must be placed within /usr/local rather
  than /usr unless it is being installed to replace or upgrade software
  in /usr. [27]


  [27] Software placed in / or /usr may be overwritten by system
   upgrades (though we recommend that distributions do not overwrite
   data in /etc under these circumstances). For this reason, local
   software must not be placed outside of /usr/local without good
   reason.


I use the FHS as a reference, because the Major (GNU/)Linux
Distributions use it as a basis.

I could not find any history being mentioned in Google, the FHS, and I
could not find an old copy of the FSSTND (the predecessor to FHS). I had
always known and seen /usr/local as being site-wide per architecture.

> /usr/local came out of the need for computer-specific  software
> installed when /usr was, indeed, mounted from a central NFS  server.

Those days are pretty much over. Is your home directory still in
/export/home?

-john


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to