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.
Permalink for comment 505233
To read all comments associated with this story, please click here.
tuaris
Member since:
2007-08-05

I also like the way FreeBSD makes a separation between the base OS and the extra stuff. However, I think they should look at Fedora and try to come up with something similar that cleans up the filesystem while still maintaining the current elegance of this separation.

The side effect of merging everything to /usr (and becoming huge) will bring into light the deeper filesystem design issues with Unix/Linux. The developers are taking things once step at a time, which in this world seems to be the only way to get from point a to point b.

I expect/hope Fedora will one day end up with a filesystem that takes the best parts of GoboLinux, FreeBSD, and OS X.

/system - everything that is the base operating system with {/etc /vat /usr /run} contained within.

/home - user data

/programs - programs that are not part of the base operating system, with each program having it's shared libraries and stuff contained within it's own directory. (disk space is cheap these days)

/settings - settings for installed programs

Edited 2012-01-31 01:40 UTC

Reply Parent Score: 2