Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

Linux directory names

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
14 posts • Page 1 of 1
Author
Message
clif2
n00b
n00b
Posts: 10
Joined: Sun Aug 10, 2003 6:43 pm

Linux directory names

  • Quote

Post by clif2 » Thu Aug 12, 2004 10:29 pm

Why are /etc and /usr so called?
Top
Duty
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Sat Nov 15, 2003 7:00 am

  • Quote

Post by Duty » Thu Aug 12, 2004 11:01 pm

etc is short for Etcetera, meaning everything else.
usr is short for UNIX System Resources, but can also be thought of as "user's stuff".
Top
akvalentine
n00b
n00b
User avatar
Posts: 42
Joined: Thu Jun 27, 2002 6:18 am

  • Quote

Post by akvalentine » Thu Aug 12, 2004 11:06 pm

Both names come from the history of Unix, where

/etc is the abreviation for etcetera.
That is where stuff goes that the original people thought had no other good place. Now it is a place for configuration stuff.

and

/usr stands for "user" (as opposed to "system" or "kernel")
That was where the users had their home directories (and other _user_ related files were stored).
Top
Billy_Witchdoctor
n00b
n00b
Posts: 10
Joined: Wed Aug 11, 2004 4:03 pm

  • Quote

Post by Billy_Witchdoctor » Thu Aug 12, 2004 11:08 pm

akvalentine wrote: /usr stands for "user" (as opposed to "system" or "kernel")
That was where the users had their home directories (and other _user_ related files were stored).
Actually, read the post above yours, usr is not user, it is unix system resources.
Top
khiloa
Guru
Guru
User avatar
Posts: 333
Joined: Tue Jan 27, 2004 9:51 pm
Location: Florence, SC

  • Quote

Post by khiloa » Thu Aug 12, 2004 11:09 pm

akvalentine wrote:/usr stands for "user" (as opposed to "system" or "kernel") That was where the users had their home directories (and other _user_ related files were stored).
Thats what I thought too..
Top
STEDevil
Apprentice
Apprentice
Posts: 156
Joined: Thu Apr 24, 2003 12:42 pm

Re: Linux directory names

  • Quote

Post by STEDevil » Thu Aug 12, 2004 11:14 pm

clif2 wrote:Why are /etc and /usr so called?
Why? Becuse someone back in the 1970-ties thought it was a good idea to have aqward names for folders and then things kind of stuck.

There are some few dists that are trying to change things into more logical naming, eg Gobo linux, and everytime I forget where exactly a specific file is placed I wonder if they are not really on to something in that dist.

(This article on the gobolinux site is quite an interseting read if you are wondering about foldernames http://www.gobolinux.org/index.php?lang ... s/clueless )
Top
clif2
n00b
n00b
Posts: 10
Joined: Sun Aug 10, 2003 6:43 pm

  • Quote

Post by clif2 » Thu Aug 12, 2004 11:50 pm

/etc is the abreviation for etcetera.
That is where stuff goes that the original people thought had no other good place. Now it is a place for configuration stuff.
That's what I would have thought it stood for :), but I had to ask 'cos I couldn't figure why it was used for conf files. But it makes sense given the history of UNIX.

I was wondering if it had a specific meaning relating to conf files, because some of the software I use, places conf files in the /etc directory inside its installation tree. But I guess, wether its good or bad pratice, it's just an extension of standard system terminology. Personally, in this situation I'd probably use [software_inst]/conf -- so as to be explicit about the directory's purpose. But then again why not just use system /etc anyway?

Thanks for clearing up the mysteries.

Any other info relating the history of unix directory names?
Top
grover
Tux's lil' helper
Tux's lil' helper
Posts: 77
Joined: Fri Sep 27, 2002 5:56 pm
Location: Melbourne, Australia

  • Quote

Post by grover » Fri Aug 13, 2004 12:40 am

Billy_Witchdoctor wrote:
akvalentine wrote: /usr stands for "user" (as opposed to "system" or "kernel")
That was where the users had their home directories (and other _user_ related files were stored).
Actually, read the post above yours, usr is not user, it is unix system resources.
Not its not. /usr is short for user. In the early versions of unix, it was used for storing the users files as the post above mentions. Unix System Resources was made up some time later when /usr was no longer used for that purpose.
Top
DaveArb
Guru
Guru
Posts: 510
Joined: Thu Apr 29, 2004 2:46 pm
Location: Texas, USA

  • Quote

Post by DaveArb » Fri Aug 13, 2004 2:33 pm

grover wrote:
Billy_Witchdoctor wrote:
akvalentine wrote: /usr stands for "user" (as opposed to "system" or "kernel")
That was where the users had their home directories (and other _user_ related files were stored).
Actually, read the post above yours, usr is not user, it is unix system resources.
Not its not. /usr is short for user. In the early versions of unix, it was used for storing the users files as the post above mentions. Unix System Resources was made up some time later when /usr was no longer used for that purpose.
"User" is the way I remember it, too. In my old UNIX Version 7 manual, that's what was described. "UNIX System Resources" is some new thing...

Dave
Top
clif2
n00b
n00b
Posts: 10
Joined: Sun Aug 10, 2003 6:43 pm

  • Quote

Post by clif2 » Fri Aug 13, 2004 7:50 pm

Thanks for the responses. I suppose it's fair to say that /usr, has at various times stood for User and/or Unix System Resources. I think I'll remember it as "user", to me that seems easiest.

While we're on the topic of users, I take it that /home is so named because it is now the base directory for storing user's home directories. Thus replacing the original purpose of /usr -- as described above, right?

Whilst /usr is now used primarily to store application software -- hence "user", as opposed to system/kernel software.
Top
miqorz
Veteran
Veteran
User avatar
Posts: 1170
Joined: Sun Apr 04, 2004 7:05 pm
Location: Pissing into the wind.
Contact:
Contact miqorz
Website

  • Quote

Post by miqorz » Fri Aug 13, 2004 7:53 pm

I'm almost positive /opt means - optional.
Want a GUI installer? Use fucking knoppix.
OSX themes suck more than you.. Almost.
Daily Screenshot
Top
shash
Apprentice
Apprentice
Posts: 220
Joined: Fri Apr 18, 2003 2:07 pm
Location: India
Contact:
Contact shash
Website

  • Quote

Post by shash » Sat Aug 14, 2004 2:02 am

Yeah, and /dev is devices and /bin is binaries! :D

Well, I suggest that you go to the experts for the real stuff: The filesystem hierarchy standard
Top
lbrtuk
l33t
l33t
User avatar
Posts: 910
Joined: Thu May 08, 2003 3:02 pm

  • Quote

Post by lbrtuk » Sun Aug 15, 2004 2:34 am

clif2 wrote:Whilst /usr is now used primarily to store application software -- hence "user", as opposed to system/kernel software.
Yes. Userspace as opposed to kernel space.
Top
Cerement
Guru
Guru
User avatar
Posts: 404
Joined: Sat Jun 14, 2003 7:21 am

Re: Linux directory names

  • Quote

Post by Cerement » Mon Aug 16, 2004 4:42 am

STEDevil wrote:Why? Becuse someone back in the 1970-ties thought it was a good idea to have aqward names for folders and then things kind of stuck.
from In the Beginning was the Command Line:
Neal Stephenson wrote:Note the obsessive use of abbreviations and avoidance of capital letters; this is a system invented by people to whom repetitive stress disorder is what black lung is to miners. Long names get worn down to three-letter nubbins, like stones smoothed by a river.
Top
Post Reply
  • Print view

14 posts • Page 1 of 1

Return to “Gentoo Chat”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic