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 505499
To view parent comment, click here.
To read all comments associated with this story, please click here.
Member since:

I'd actually include /opt or /optional or /thirdparty.. whatever name makes sense.

You have /system stuff that is core OS/distro.

You have /programs stuff that is user application level stuff not core but still delivered through the distribution.

You have /opt stuff that is completely third party; not delivered through the distribution.

and of course /home for your users and maybe /root cause root should still be segregated.

Between tarball installs and third party distro package installs, it's nice to have an opt tree to dump it under instead of mashing it in with system/apps managed by the distribution repositories. An example would be Splunk installing under /opt because it's installer is provided by the company directly not through a distribution repository.

Reply Parent Score: 2