LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-31-2003, 02:25 PM   #1
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Rep: Reputation: 61
A little help with Theory


Still fairly new to the linux thing. I'm a little confused about something.

How does Linux deal with drives? such as CDrom and such.

I'm used to drive letters.

Someone please explain this whole mounting business

Thanks.
 
Old 10-31-2003, 02:40 PM   #2
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
Ok, Linux sees your drives as partitions. It sees your cd and floppy as removable media under /mnt. For example in windows your drive was c: and all the directories in it were listed after c: , in linux you partitions are set up as one directory tree so where root is /. Now root would be like the root of a tree all of the files in linux go up the tree from there. So now instaed of finding a file using c:\ whatever in dos it is from root (/) and it goes up from there. So in linux it sees all your partitions as one big drive so to say.

Hope I was a help!
 
Old 10-31-2003, 03:10 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897
linux does not used drive designations instead all files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over several devices. The mount command serves to attach the file system found on some device to the big file tree and it opens file buffers for reading / writing to the device. linux delays writing to the device and so before you eject a floppy or flash drive you need to write anything pending and that is what the umount command does.

Mandrake uses the /mnt directory for removable media and other devices that are not normally part of the OS. The first found CD device will be mounted to /mnt/cdrom. In addition Mandrake uses supermount where when a CD is inserted it is automatically mounted and after certain time period is automatically unmounted when the media is ejected.

The /etc/fstab file tells linux where to mount devices on boot and provides for other options. See man pages for mount and fstab.
 
Old 10-31-2003, 03:14 PM   #4
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
alrite. thanks guys that definetly clears some stuff up.
 
  


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
Linux Theory? Xaque208 Linux - General 5 03-11-2005 02:31 PM
question about dns theory eantoranz General 0 09-07-2004 12:44 PM
Lycoris Theory njbrain General 4 02-17-2004 04:20 PM
Theory of not using Linux Stephanie General 17 12-27-2003 07:17 PM
Justa theory about X Stephanie General 1 05-01-2002 11:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:37 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
Open Source Consulting | Domain Registration