2 ms·
Those distinctions are more of a relic these days. If you take a look at a look at the inodes themselves you’ll see that they’re just symlinked back to /bin in
by hnlmorg 3y ago
Those distinctions are more of a relic these days. If you take a look at a look at the inodes themselves you’ll see that they’re just symlinked back to /bin in a lot of Linux distros.
BSDs still make the distinction but Linux moved on a while ago.
- lproven 3y agoThis is a relatively recent thing, called the Usr Merge. https://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge/ https://www.freedesktop.org/wiki/Software/systemd/TheCaseFor...
- hnlmorg 3y agoIt’s a lot older than the edit date of that document. ArchLinux, for example, made the change somewhere in the region of 10 years ago. I can’t find an exact date but here’s a stack overflow discussion about the topic from 2016: https://unix.stackexchange.com/questions/266517/why-is-bin-a-symbolic-link-to-usr-bin https://unix.stackexchange.com/questions/266517/why-is-bin-a...
- michaelmrose 3y agoMore precisely /bin /sbin /usr/sbin all links pointing to /usr/bin yes but /usr/local is still of relevance and /opt although it really feels like opt (which doesn't have a great semantic meaning and would be better suited for something under /usr/local similarly /lib and /lib64 are pointers to /usr/lib It might be interesting in a vm to remove those symlinks and see what breaks. Presumably a lot.