LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-09-2004, 04:28 AM   #1
ashrat2002
LQ Newbie
 
Registered: Sep 2003
Location: WA, Australia
Distribution: Mandrake 10 Official
Posts: 12

Rep: Reputation: 0
what is the meaning of the directories?


The folders and directories in Linux.

They all have their names and purposes.

/etc/ is for configuration files
/home/ is for users personal files
/tmp/ is for programs that need temporary files.
/mnt/ is for mounted partitions/filesystems.
and theirs the rest of them as well.

Are the folder names abbreviations?
By this i mean, what does "etc" mean?
"tmp" obviously is short for temporary.
"mnt" means mount or mounted.

Also, what about all the other folders of Linux?

Ash
 
Old 01-09-2004, 04:49 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
check out

http://www.tldp.org/LDP/Linux-Filesy...tml/index.html
 
Old 01-09-2004, 05:22 AM   #3
ashrat2002
LQ Newbie
 
Registered: Sep 2003
Location: WA, Australia
Distribution: Mandrake 10 Official
Posts: 12

Original Poster
Rep: Reputation: 0
Ok, i checked out the site, it answered most of what I wanted.

A am still unsure about the directories /opt/ and /etc/

/opt/ is for software and add-on packages.
/etc/ is for configuration files.

Why use the the characters "etc" and "opt".

Why not use /conf/ for configuartion files? (or something similar)
Why not use /addon/ for software or add-on packages? (or something similar)

I know it may not seem important to know this, and its not. It's just something thats been on my mind for a while and it's bugging me a bit.

Ash
 
Old 01-09-2004, 05:29 AM   #4
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Linux from Scratch may let you name the what ever you want. Installing software may be fun though. Installer says put in /etc and you have it named /conf. The installer is going to be a bit upset.

/etc really contains more than conf files. It contains the init files for booting and some other neat things.

I guess, it is the way it is. It likely made a lot of sense years ago when they started Linux/Unix.

Later

 
Old 01-09-2004, 05:49 AM   #5
ashrat2002
LQ Newbie
 
Registered: Sep 2003
Location: WA, Australia
Distribution: Mandrake 10 Official
Posts: 12

Original Poster
Rep: Reputation: 0
Very true that it would of made sense when Linux was first introduced, to me however, it doesn't make much sense now.

I guess it can't be changed because all the installers would be looking for /etc, and if it did change it would be a pain adapting to it.

Dont want to even go there.

Ash
 
Old 01-09-2004, 06:18 AM   #6
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
I know one distro that tries to break this convention, at least from the user's point of view:
http://www.gobolinux.org/
 
Old 01-09-2004, 08:57 AM   #7
ashrat2002
LQ Newbie
 
Registered: Sep 2003
Location: WA, Australia
Distribution: Mandrake 10 Official
Posts: 12

Original Poster
Rep: Reputation: 0
GoboLinux

I has a look at it, and see what you mean.

The programs are installed into /programs/ . Also has a different directory for /bin/ and /usr/ .

I guess this means that only programs made by GoboLinux will work on it, unless someone else makes a program with those working directories. No existing programs that work on traditional Linux distributions would work on GoboLinux, will they?

If thats true, then it's I guessing that GoboLinux wants people to use Gobo's own programs on it, and not much other software - maybe?

Ash
 
Old 01-09-2004, 07:18 PM   #8
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Actually after a bit of diggin, it has links to the "old way" directories. That way when you install somethin and it looks for /usr/bin it is link to the gobo style directory and just goes there instead.

It may work well actually. I'm not going to try it though. It is to much like windoze for me.

Later

my $.02 worth.

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CHMOD directories.sub-directories.files zerojosh Linux - Software 2 11-19-2005 03:22 PM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 12:23 PM
Meaning of Folders and Directories Dakkar Linux - Newbie 2 12-16-2003 08:19 AM
meaning of % symbol? freychef Linux - General 1 11-10-2003 10:32 AM
what's the meaning of this warning ? jeson_515 Linux - Software 1 08-07-2003 10:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration