Linked by Thom Holwerda on Tue 22nd Nov 2016 23:06 UTC
Debian and its clones

From the debian-devel mailing list:

debootstrap in unstable can now install with merged-/usr, that is with /bin, /sbin, /lib* being symlinks to their counterpart in /usr.

LWN.net published an article in January 2016 going into this then-proposed change.

Debian is the latest Linux distribution to consider moving away from the use of separate /bin, /sbin, and /lib directories for certain binaries. The original impetus for requiring these directories was due to space limitations in the first Unix implementations, developers favoring the change point out. But today, many of the services on a modern Linux system impose requirements of their own on the partition scheme - requirements that make life far simpler if /bin, /sbin, and /lib can be symbolic links to subdirectories within a unified /usr directory. Although some resistance was raised to the change, the project now seems to be on track to make "merged /usr" installations a supported option. And perhaps more importantly, the arguments favoring the merge suggest that many Debian developers would like to see that configuration eventually become the default.

Any steps to clean up Linux' FHS implementation - no matter how small - is cause for widespread celebration all across the land. Call it forth!

Thread beginning with comment 637514
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: Mixed feelings
by jessesmith on Wed 23rd Nov 2016 13:33 UTC in reply to "RE: Mixed feelings"
jessesmith
Member since:
2010-03-11

Static binaries *on Linux* has not been the case for a long time. At least gong back to around 2000, which is when the bug (and I consider dynamically linked programs in /bin a bug) first affected me. However, some other systems have maintained the tradition of statically linked programs in the top level directories and it's a welcome feature. I wish more systems still shipped this way. I'd much rather re-install one broken library than re-install an entire operating system.

Reply Parent Score: 3

RE[3]: Mixed feelings
by darknexus on Wed 23rd Nov 2016 14:49 in reply to "RE[2]: Mixed feelings"
darknexus Member since:
2008-07-15

I'd much rather re-install one broken library than re-install an entire operating system.

Agreed. If a *NIX-based system other than GNU/Linux gets hosed up badly enough to where a reinstall is needed, then you've done something seriously wrong. If you know admin basics you can, for instance, keep a Solaris or *BSD system running and ready for years and never even have to think the word "reinstall." Not all Linux-based systems are so easily hosed, and you can do the same with RHEL/CentOS or even Debian stable (stress on the stable part). However there's no denying that stuff in Linuxland has gotten far more complicated than other *NIX variants even so.

Reply Parent Score: 2

RE[4]: Mixed feelings
by leech on Wed 23rd Nov 2016 19:07 in reply to "RE[3]: Mixed feelings"
leech Member since:
2006-01-10

Sadly after many years of using Debian, this is the first time I'm going to have to restructure/reinstall one of my systems... but it's not Debian's fault really, one of the drives in the JBOD/LVM exhibited some random read errors, even though SMART says it's completely fine, and it caused a nasty loop of fsck checks that then completely hosed he file structure.

So some things like /var/lib/dpkg is missing...

Fortunately most of my actual files are still there, I just need to put them in the right place after copying them off. But I wasn't going to deal with this crap a second time, so ended up ordering a proper raid controller!

Reply Parent Score: 3

RE[3]: Mixed feelings
by Vanders on Wed 23rd Nov 2016 19:14 in reply to "RE[2]: Mixed feelings"
Vanders Member since:
2005-07-06

Static binaries *on Linux* has not been the case for a long time.

Right, but this is an article & discussion about Linux, so thought the context was pretty clear.

Okay, maybe there really is somebody out there using Debian/Hurd who cares about the distinction, but they can cope.

Reply Parent Score: 3