Linked by Thom Holwerda on Thu 28th May 2009 19:17 UTC
OSNews, Generic OSes Ask OSNews is apparently quite popular among you guys; the questions just keep on coming in. Since David took on the first two, we decided to let me handle this one - it's an area I've personally covered before on OSNews: file system layouts. One of our readers, a Linux veteran, studied the GoboLinux effort to introduce a new filesystem layout, and wondered: "Why not adopt the more sensible file system from GoboLinux as the new LSB standard?"
Permalink for comment 365925
To read all comments associated with this story, please click here.
RE: Down with the FHS
by rajj on Fri 29th May 2009 00:58 UTC in reply to "Down with the FHS"
rajj
Member since:
2005-07-06

Why bin? Because that's where your 'binaries' are, right? oh, except there are programs now that are text files run through an interpreter, so that doesn't really apply.


It's not worth quibbling over such a distinction. No matter what name you choose, there will be exceptions unless you just want to call it 'stuff'. 'bin' is short, concise and easy to type.


A user's files aren't under /usr, my webserver by default isn't under /svr, it's under /var/www.


The choice of usr as a name was questionable, but I'm not really sure what else you'd call it frankly. One reason for its existence is that it should be sharable over NFS amongst multiple boxes.

/svr is suppose to be for read-only files. /var is for read-write. That said, almost no packagers actually follow the spec here. Again, /svr is supposed to be sharable via NFS.


/etc? Yeah, something about etcetera really says 'config files'. Seriously, who thought /etc was a good name?


The stuff under /etc aren't necessarily config files. The init system lives in there for one. Yes, while it is used for configuration, the init script are not themselves configuration files. It also often gets used as a dumping ground for ad hoc scripts written by systems admins for backups, reports, ETC (emphasis intended).


I don't think spelling everything out, capitalization and using naive categorization schemes really adds anything useful. There are 30 years of accumulated wisdom in the current layout. Wanting to throw it all away reminds of me fresh out school CS graduates that always want to throw the existing code base away and start over because everyone before them were obviously idiots.

Reply Parent Score: 3