this post was submitted on 17 Oct 2023
47 points (100.0% liked)

Linux

48069 readers
1341 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 5 years ago
MODERATORS
 

Debian 12 had aimed to have a merged "/usr" file-system layout similar to other Linux distributions, but The Debian Technical Committee earlier this year decided to impose a merged-/usr file movement moratorium. But now with Debian 12 having been out for a few months, that moratorium has been repealed.

In hoping to have the merged /usr layout ready in time for Debian 13 "Trixie", yesterday that moratorium was repealed. Debian's UsrMerge Wiki page tracks the effort for those wishing to learn more about this modernization of the directory structure.

Debian's merged /usr transition will hopefully be all wrapped up in time for the Debian 13 release in about two years time.

you are viewing a single comment's thread
view the rest of the comments
[–] PlexSheep@feddit.de 4 points 1 year ago* (last edited 1 year ago) (1 children)

Why does every modern distro put their stuff in /usr instead of the regular dirs (bin, lib)?

Edit: Apperently, /usr is for user-space stuff nowadays.

[–] PAPPP@lemmy.sdf.org 10 points 1 year ago

The argument was that if you put all your static resources in /usr, you can mount it RO (for integrity, or to use a ROM on something embeddedish) or from a shared volume (it's not uncommon to NFS mount a common /usr for a pool of managed similar machines).

...that said, many of the same people who made that argument are also the ones that went with making it so systemd won't boot without /usr populated anymore, so that feature is now less useful because it has to be something your initramfs/initcpio/whatever preboot environment mounts rather than mounted by the normal fstab/mount behavior, and the initcpio/initramfs/dracut schemes for doing that all (1) require a redundant set of tools and network configs in the preboot (2) are different and (3) are brittle in annoying ways.

It still works OK if you're using a management tool like Warewulf to manage configs and generate all the relevant filesystems and such, but it's a lot more fucking around than a line in fstab to mount usr once the real system is up like the old days.