View previous topic :: View next topic |
Author |
Message |
Kestrell Kestrell Tux's lil' helper
Joined: 13 Aug 2004 Posts: 115 Location: Moscow
|
Posted: Wed Oct 20, 2004 11:58 pm Post subject: Var Etc Sbin ... |
|
|
Could someone explain the theory behind the directory names used by linux? What does var stand for? Why is there an etc folder? What is an sbin? I don't understand.
Thanks! |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Thu Oct 21, 2004 12:05 am Post subject: |
|
|
It's called the Filesystem Hierarchy Standard. _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
Monkeywrench Apprentice
Joined: 22 Jun 2004 Posts: 205 Location: Florida
|
Posted: Thu Oct 21, 2004 3:47 pm Post subject: |
|
|
I also recall reading somewhere about the reason for the weird names. Mostly, it's just because the pioneer hackers didn't like to slow down their typing with long directory paths and upper case letters. For example, compare the following:
cd /etc/init.d
and
dir C:\Documents and Settings\John\Start Menu\Startup
Maybe I'm totally wrong, but it makes sense
This is also why I think gobolinux is kind of stupid. _________________ Folding@home -Join the Linux team (163)! |
|
Back to top |
|
|
Kestrell Kestrell Tux's lil' helper
Joined: 13 Aug 2004 Posts: 115 Location: Moscow
|
Posted: Fri Oct 22, 2004 5:06 pm Post subject: |
|
|
But what does "etc" stand for? And its not just etc, these cryptic abbreviations are all over, as long as names are being abbreviated and made, why not make them meaningful, or at least guessable? Instead of etc what about configs or cnfgs or cfgs? |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Fri Oct 22, 2004 5:13 pm Post subject: |
|
|
bin is short for binary
var variable
etc ..config??
usr user?
src source
lib library
sbin system binaries
sys system
dev devices
proc processes?
opt optional
NOTE these are all guesses |
|
Back to top |
|
|
Kestrell Kestrell Tux's lil' helper
Joined: 13 Aug 2004 Posts: 115 Location: Moscow
|
Posted: Fri Oct 22, 2004 5:23 pm Post subject: |
|
|
Most of those are guessable, but what would the variable directory contain? I guess I am getting hung up on etc and var. Why do we distinguish between binaries and source installations? Why not just have a utils or apps or sftwr folder?
BlackEdder wrote: | bin is short for binary
var variable
etc ..config??
usr user?
src source
lib library
sbin system binaries
sys system
dev devices
proc processes?
opt optional
NOTE these are all guesses |
|
|
Back to top |
|
|
DaveArb Guru
Joined: 29 Apr 2004 Posts: 510 Location: Texas, USA
|
Posted: Fri Oct 22, 2004 8:29 pm Post subject: |
|
|
Kestrell Kestrell wrote: | But what does "etc" stand for? |
Et cetera. That's originally where files went that kind of didn't belong anywhere else.
usr is definitely "user". Don't let anyone try to sell you any of that new hooey about "UNIX system resources" or such nonsense. /usr is where user directories used to live.
I've never been up to speed on /var. Older UNIX machines I've worked with didn't have a /var directory. First I remember seeing it was on a Sperry, around 1986 or 1987.
Dave |
|
Back to top |
|
|
|