Linked by Thom Holwerda on Mon 30th Jan 2012 20:39 UTC
General Unix Finally something really interesting to talk about. If you've used UNIX or any of its derivatives, you've probably wondered why there's /bin, /sbin, /usr/bin, /usr/sbin in the file system. You may even have a rationalisation for the existence of each and every one of these directories. The thing is, though - all these rationalisations were thought up after these directories were created. As it turns out, the real reasoning is pretty damn straightforward.
Thread beginning with comment 505174
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: About time...
by shmerl on Mon 30th Jan 2012 21:21 UTC in reply to "About time..."
Member since:

So why to /usr/bin and not to /bin then?

Reply Parent Score: 3

RE[2]: About time...
by Aristocracies on Mon 30th Jan 2012 21:31 in reply to "RE: About time..."
Aristocracies Member since:

I've answered this here:

But in case you also want to hear it from more official people:

It simply makes more sense to do it /usr, that way it is possible to contain everything of that nature onto its own separate file system that could then be snapshotted, shared and mounted however you need it. Symlinking /bin, /sbin, etc into /usr gives you additional compatibility as a freebie since everything will exist in both locations.

Reply Parent Score: 3

RE[3]: About time...
by shmerl on Mon 30th Jan 2012 22:59 in reply to "RE[2]: About time..."
shmerl Member since:

Sounds good, but the name itself is totally obsolete. It could be renamed from /usr to /system or something, but I guess legacy weight is too big for it.

Reply Parent Score: 2

RE[2]: About time...
by Bill Shooter of Bul on Mon 30th Jan 2012 22:44 in reply to "RE: About time..."
Bill Shooter of Bul Member since:

That was my thought as well, and It was answered pretty well in the wiki faq linked above a couple of days ago. Apparently, someone changed the explanation.

The old explanation was that everyone else that had fixed this issue had moved everything into /usr, so to be compatible with all of them (mostly solaris), they were going to follow suite.

That made sense to me.

Reply Parent Score: 3