LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-17-2001, 10:07 AM   #1
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Rep: Reputation: 45
File Structure


this may seem like a dumb question, but I was wondering about the file structure on Linux.

I have these partitions:
/
/usr
/home
/var
/tmp
swap

Now which one one these stores libraries and other main system components? Is it /, because I thought that was actually an account home partition.
 
Old 07-17-2001, 10:30 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Practically speaking, all is under root or '/', doesn't really matter which partitions they are, just where and how they are mounted.

In general, binaries, and libraries for packages are under /usr. home directories are under /home ('cept for root users's home which is - wait for it... /root). My logs and mail/fax live under /var.

Again the confusion arises out of the 'root' user or group (root), 'root' of the filesystem (/), and the 'root' home (/root). Common mistake.
 
Old 07-19-2001, 04:59 AM   #3
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware 14.2 64-bit
Posts: 388

Rep: Reputation: 102Reputation: 102
Here is an overview of the directory structures in Linux:

http://www.linux.com/newsitem.phtml?sid=60&aid=9027
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
file/dir structure xemous Linux - Newbie 3 10-04-2004 01:51 AM
f_count of file structure amitgoel25aug Linux User Groups (LUG) 3 08-08-2004 07:39 AM
f_count of file structure amitgoel25aug Programming 3 07-09-2004 08:59 AM
linux file structure alzogbi Linux - Newbie 5 01-02-2004 03:31 AM
File structure of Linux TDEE Linux - Software 6 02-26-2003 11:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:25 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration