LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-17-2004, 06:48 PM   #1
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Rep: Reputation: 31
Confused about partitions and file structure


I installed Slack 10 couple of days ago and am slowly working thru my guides, studying commands, different shells and other basic stuff. No major trouble yet. I have one theoretical question that's been bugging me and I can't seem to find answer for it in the books or on this forum. Here it is:

When I partitioned my HD, I made 3 partitions: root, usr and home. How come when I installed everything, usr and home come to be SUBDIRECTORIES of the root?

Can't really put together a picture that makes sense.

Can anyone elaborate on this? Thanks.
 
Old 09-17-2004, 06:57 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,948

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
In a nutshell:
Unlike windows there are not seperate "drives" for each partition, cdrom drive or floppy drive etc. etc. Everything is part of a big tree so to speak with / being at the top. When a file system is mounted like a floppy disk, (i.e. the data on the disk not the actual hardware device) it is attached to the tree at its mount point which is /mnt/floppy for most distros. In addition everything is considered a file.

Take a look:
http://www.icon.co.za/~psheer/book/node1.html.gz

Lots more info on the web.

Last edited by michaelk; 09-17-2004 at 06:59 PM.
 
Old 09-17-2004, 07:25 PM   #3
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Original Poster
Rep: Reputation: 31
So, root does not really CONTAIN home and usr, they are just "attached" to it, right?
I think I got it. Thanks.

I think I got confused because most of these guides just say "Unix has a hierarchical file structure similar to MSDOS" when in reality they are quite different.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Still confused about users/folders/partitions jagibbs Linux - Newbie 4 04-26-2005 02:56 AM
file/dir structure xemous Linux - Newbie 3 10-04-2004 02:51 AM
f_count of file structure amitgoel25aug Linux User Groups (LUG) 3 08-08-2004 08:39 AM
Dazed and confused about partitions arty62 Linux - General 10 11-05-2003 06:07 AM
File Structure Stephanie Linux - General 2 07-19-2001 05:59 AM


All times are GMT -5. The time now is 04:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration