Linked by Thom Holwerda on Mon 23rd Feb 2009 17:29 UTC
General Unix UNIX's method of handling file systems and volumes provides you with an opportunity to improve your systems' security and performance. This article addresses the issue of why you should split up your disk data into multiple volumes for optimized performance and security.
Thread beginning with comment 350328
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: nice little summery
by Doc Pain on Mon 23rd Feb 2009 21:46 UTC in reply to "RE: nice little summery"
Doc Pain
Member since:
2006-10-08

I did find one error, regarding /usr/local and how it's used, but *BSD uses /usr and /usr/local in a very nontraditional way at least as compared to other UNIX systems. The article is correct for non-BSD oses, however.


I'd rather say it's a different interpretation of a concept, not an error.

BSD differentiates between "the OS" (core system) and "everything else". For the last part, it's completely (!) situated inside /usr/local.

See: http://www.freebsd.org/cgi/man.cgi?query=hier&apropos=0&sektion=0&m...

Linux doesn't have such a differentiation. Here, even the OS part is usually designed by packages (or something similar). The creator of a distributions decides what belongs to the distribution. Therefore, you can see different uses among the different Linusi. Some use /opt, others don't.

On Sun Solaris systems, there are again other substructures in /usr that nobody knows outside the Sun environment. :-)

There are other interpretations, such as "use /opt for things that you've compiled yourself that isn't available from your distributions source repository / ports system" or "the home directories are in /export/home".

Among the UNIXes and between UNIX and the Linusi there are differences, but if you understood why these directory structures are there, why they are well intended and what their historical reasons are, you will have no problems finding your way, no matter which UNIX or Linux you're using. I think this article gives a good introduction to this topic.

Reply Parent Score: 2

RE[3]: nice little summery
by darknexus on Mon 23rd Feb 2009 22:36 in reply to "RE[2]: nice little summery"
darknexus Member since:
2008-07-15

I take your point, I should have phrased it differently. It is a good article and introduction.

Reply Parent Score: 2

RE[3]: nice little summery
by Jagged-Loser on Tue 24th Feb 2009 15:22 in reply to "RE[2]: nice little summery"
Jagged-Loser Member since:
2009-02-24

That's pretty much how things are for me on OpenBSD. Ports and packages go into /usr/local.

For applications that are compiled by hand, I put those in /software, which is a convention that I started some time ago after I ran across some software that defaulted to using /opt (cdrtools, IIRC). I know some people will be horrified by this, as it's not the norm, but that's how I prefer it.

Reply Parent Score: 1