Usr Move - More, Please

Thomas Bendler ml at bendler-net.de
Mon Jan 30 18:12:59 UTC 2012


2012/1/30 Mike Pinkerton <pselists at mindspring.com>

> [...]

If (1) we mount /usr ro over the network, and (2) we want /usr to be
> reserved for managed software (for a variety of reasons), then /usr/local
> really doesn't fit anymore.
>

Why doesn't /usr/local fit anymore? It was especailly designed for this
kind of setup. It will not fit if you define everything underneath /usr as
managed software, but FHS didn't do this in the past and nearly all
distributions I know didn't work like this.


> Because /opt is the only other current directory that makes sense for
> locally-compiled programs, I would symlink /usr/local -> /opt.
>

This could be an option, but several commercial programs use something like
/opt/appname what is also valid FHS style. If you symlink /usr/local you
could end up an a mixed /opt/lib, /opt/bin, /opt/appname thing.


> I understand that the FHS recommends installing to /opt/appname, but there
> is no enforcement of that.  Currently compliance is a matter of local
> policy.


FHS is a recommendation, nothing more and nothing less. It should only help
to find a common base for all distributions like LSB does. But this also
implicate that it won't help if only one distribution change the whole FHS
style without having the other distributions involved. So putting all
binaries to an already defined location within FHS is one thing, but having
several new locations is a complete other story an much harder to realize.

Regards Thomas
-- 
Linux ... enjoy the ride!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20120130/192babc0/attachment.html>


More information about the devel mailing list