News for hackers. Stuff that matters.
Re:GoboLinux by hnlmorg on Wednesday February 28, 2024 @02:11AM (#39534959)
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.

Re:GoboLinux by lproven on Wednesday February 28, 2024 @10:41AM (#39539396)
This is a relatively recent thing, called the Usr Merge.

https://www.freedesktop.org/wiki/Software/systemd/TheCaseFor...

Re:GoboLinux by hnlmorg on Wednesday February 28, 2024 @03:18PM (#39542977)
It’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...

Re:GoboLinux by michaelmrose on Wednesday February 28, 2024 @05:24PM (#39544255)
More 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.