23 points

The Gentoo news post is not about having /bin and /usr/bin as separate directories, which continues to work well to this day (I should know, since that’s the setup I have). That configuration is still supported.

The cited post is about having /bin and /usr on separate partitions without using an iniramfs, which is no longer guaranteed to work and had already been awfully iffy for a while before January. Basically, Gentoo is no longer jumping through hoops to make sure that certain files land outside /usr, because it was an awful lot of work to support a very rare configuration.

permalink
report
reply
16 points

I don’t know if this is really a “so broken” instance. /bin and /usr/bin (or sbin) have never been well separated, to the point where many distributions just symlink to /usr anyway. If you don’t want an initramfs to provide binaries you need them somewhere accessible.

permalink
report
reply
7 points

/bin and /usr/bin (or sbin) have never been well separated, to the point where many distributions just symlink to /usr anyway.

They were(see FHS) and you show exactly how broken it became.

/usr supposed to have files that are needed only after first part of boot procees before mounting filesystems.

permalink
report
parent
reply
8 points

They were defined sure, but without distribution adherence they weren’t actually, this has been the case for a long time. Out of all the distributions, Gentoo is probably one of the most sensitive to this issue since most others have used initramfs or initrd for decades and Gentoo has always made it optional.

If the post was about FHS adherence I’d agree more.

permalink
report
parent
reply
3 points

that was a workaround, not needed anymore, so let them die

permalink
report
parent
reply
1 point

And use bigger bandaid. Meanwhile initramfs and split-usr would greatly complement each other.

permalink
report
parent
reply
8 points

I’m curious why the separation between these still exists, because a bunch of distributions symlink all of these to /usr/bin either way

permalink
report
reply
11 points
*

Think about booting over network. Or having /usr on another drive. Including even network drive. Think about dumb terminals(wrong cetury) thin clients. For example they can use small disk to quickly boot wihout downloading kernel and initramfs and use NFS for /usr and /home.

permalink
report
parent
reply
14 points

These days, AFAIK network boot is done thru initramfs. It loads rootfs in most cases I’ve seen tho.

permalink
report
parent
reply
6 points
*

True, network boot is not best example. Shared /usr is much better one. For example if you are school that wants to buy 100 thin clients for very cheap.

permalink
report
parent
reply
3 points

It exists because, long ago in a galaxy far far away, a sysadmin ran out of space on a drive. The system was split between two 10MB(?) drives, one was / and one was mounted at /usr, for User data. They moved some of the programs to a folder for a dummy user, /usr/bin, and put that in everybody’s PATH.

Everybody kept on doing things that way ever since. Social momentum is funny that way.

permalink
report
parent
reply
7 points

Alpine still keeps /bin and /usr/bin separated.

And iirc the next fedora release will finally unify everything under /usr/bin.

permalink
report
reply
2 points

And iirc the next fedora release will finally unify everything under /usr/bin.

On my current Fedora 40 install /bin is already a symlink to /usr/bin

permalink
report
parent
reply
1 point
1 point
Deleted by creator
permalink
report
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.5K

    Monthly active users

  • 6.6K

    Posts

  • 179K

    Comments