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

Bug#652011: Repeated pattern of FHS violation: Dependencies of /sbin and /bin, belong in /lib



Roger Leigh wrote:

> The question that needs answering is this:
>
>   "what are the reasons, today, for a separate /usr?"

No, I don't think an answer to that precise question today would be
especially helpful.  As far as I can tell, it is not especially
unsensible to use separate partitions for /usr, /etc, /var, /boot, and
/opt.  And whether it is sensible or not, unless you have a tool in
mind that will automatically change the partitioning scheme of a
running system, that's not going to help udev or crda very much.

An obvious question to answer to help these programs is whether it
makes sense to make /usr a separate partition and not mount it before
starting init.  An even more obvious question is "where is the patch
for initramfs-tools?". ;-)

[...]
> The same argument applies to encryption.  / and /usr both contain a
> selection of programs, libraries etc.  If you're encrypting one, why
> would you not encrypt all of it?  And the same for mounting read-only.

Regarding mounting read-only: files in /etc change far more often than
files in /usr/bin, for one thing.

Hope that helps,
Jonathan



Reply to: