this post was submitted on 29 Jun 2024
60 points (95.5% liked)

Linux

58985 readers
903 users here now

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

Related Communities

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

founded 6 years ago
MODERATORS
all 16 comments
sorted by: hot top controversial new old
[–] nyan@sh.itjust.works 24 points 1 year ago

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.

[–] Bitrot@lemmy.sdf.org 15 points 1 year ago (1 children)

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.

[–] uis@lemm.ee 7 points 1 year ago (2 children)

/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.

[–] Bitrot@lemmy.sdf.org 8 points 1 year ago

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.

[–] Vilian@lemmy.ca 3 points 1 year ago (1 children)

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

[–] uis@lemm.ee 1 points 1 year ago (1 children)

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

[–] Vilian@lemmy.ca 1 points 1 year ago

of course not, any program that has it own install script install it on /bin because it's easier, and why need that in a early boot, what's the difference, was always a workaround, wasn't needed to complement anything before, and don't need anything now

[–] Samueru@lemmy.ml 7 points 1 year ago (1 children)

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

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

[–] brandon@lemmy.ml 2 points 1 year ago (1 children)

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