zlacker

[return to "Understanding the bin, sbin, usr/bin, usr/sbin split (2010)"]
1. behnam+Cm[view] [source] 2026-01-04 16:12:40
>>csmant+(OP)
This is what happens when a system is designed by multiple people and companies over a long period of time. An amalgam of ideas which are there just because. There's no reason Linux should be like this. e.g., see https://gobolinux.org/ which has more sane dirs.
◧◩
2. markst+ot[view] [source] 2026-01-04 16:54:08
>>behnam+Cm
Linux does not use this split any more. Many of these dirs were merged back together. The "/usr merge" was adopted by Debian, Ubuntu, Fedora, Red Hat, Arch Linux, openSUSE and other major distros:

https://itsfoss.gitlab.io/post/understanding-the-linux--usr-...

`man file-hierarcy` defines modern Linux filesystem layout.

https://www.man7.org/linux/man-pages/man7/file-hierarchy.7.h...

◧◩◪
3. benchl+La2[view] [source] 2026-01-05 07:46:21
>>markst+ot
Question: why did they decide to make /usr/bin the "primary" and /bin the symlink? Methinks it should have been the other way around as was the original Unix design before the split.

Also the first URL is serving me scam popup ads that do a crap job at pretending to be android system alerts. Next time please try to choose a more reputable source.

◧◩◪◨
4. pauldd+wB3[view] [source] 2026-01-05 17:26:36
>>benchl+La2
There is some logical grouping. Everything under /usr is "executables+libraries+docs, mostly immutable" so there is some logical grouping.

Whereas /etc is for configuration and /var is for mutable data.

[go to top]