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 637534
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: Comment by p13.
by p13. on Wed 23rd Nov 2016 17:31 UTC in reply to "RE: Comment by p13."
p13.
Member since:
2005-07-10

/lib contains shared objects. Shouldn't contain executable binaries.

/usr does in effect contain things belonging to the user. It contains binaries and objects that are non-critical tot the system, and support the applications/platform that the user(s) run on it.

/home does indeed contain the personal files, profile, etc of the system's users.

Reply Parent Score: 2

RE[3]: Comment by p13.
by darknexus on Wed 23rd Nov 2016 18:47 in reply to "RE[2]: Comment by p13."
darknexus Member since:
2008-07-15

/usr does in effect contain things belonging to the user. It contains binaries and objects that are non-critical tot the system, and support the applications/platform that the user(s) run on it.

Not anymore. Did you miss the point of this article? They want /usr to be everything except profiles and config data. Next we'll hear about /usr/var, /usr/etc. I'd say we'd have /usr/home, but I do believe it was BSD/OS back in the days that used that.
Ah well, at least it's not Solaris. Remember all those /usr subdirectories like /usr/sfw/bin, /usr/xpg4/bin, /usr/contrib/bin...
Personally, I think OpenBSD has the most logic. /bin, /lib, etc contain system-critical files. /usr contains non-critical system binaries (though I still think usr is a misname). /usr/local contains everything that the user has installed, either via packages or compilation themselves (makes it really, really simple to separate the system from the added software).
And don't even get me started on /opt.

Reply Parent Score: 3

RE[4]: Comment by p13.
by p13. on Wed 23rd Nov 2016 20:30 in reply to "RE[3]: Comment by p13."
p13. Member since:
2005-07-10

"/usr does in effect contain things belonging to the user. It contains binaries and objects that are non-critical tot the system, and support the applications/platform that the user(s) run on it.

Not anymore. Did you miss the point of this article? They want /usr to be everything except profiles and config data. Next we'll hear about /usr/var, /usr/etc. I'd say we'd have /usr/home, but I do believe it was BSD/OS back in the days that used that.
Ah well, at least it's not Solaris. Remember all those /usr subdirectories like /usr/sfw/bin, /usr/xpg4/bin, /usr/contrib/bin...
Personally, I think OpenBSD has the most logic. /bin, /lib, etc contain system-critical files. /usr contains non-critical system binaries (though I still think usr is a misname). /usr/local contains everything that the user has installed, either via packages or compilation themselves (makes it really, really simple to separate the system from the added software).
And don't even get me started on /opt.
"

They want this, but it's not the case now, so for now, it's still as described.

Solaris is a special kind of special lol

Reply Parent Score: 2