Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Var Etc Sbin ...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Kestrell Kestrell
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2004
Posts: 115
Location: Moscow

PostPosted: Wed Oct 20, 2004 11:58 pm    Post subject: Var Etc Sbin ... Reply with quote

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
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Thu Oct 21, 2004 12:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Monkeywrench
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 205
Location: Florida

PostPosted: Thu Oct 21, 2004 3:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Kestrell Kestrell
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2004
Posts: 115
Location: Moscow

PostPosted: Fri Oct 22, 2004 5:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Fri Oct 22, 2004 5:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Kestrell Kestrell
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2004
Posts: 115
Location: Moscow

PostPosted: Fri Oct 22, 2004 5:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
DaveArb
Guru
Guru


Joined: 29 Apr 2004
Posts: 510
Location: Texas, USA

PostPosted: Fri Oct 22, 2004 8:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum