LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-08-2003, 09:40 AM   #1
pankajtakawale
LQ Newbie
 
Registered: Oct 2003
Location: INDIA-PUNE
Posts: 7

Rep: Reputation: 0
Question Mount Points In File System


I'm not able to grasp the concept of Mount Points in File Systems.

Pankaj
 
Old 10-08-2003, 09:57 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Before you can access a filesystem, you must mount it. One filesystem is mounted to /, most others are mounted to folders in the / filesystem. These are known as mount points. For example, say you have 2 partitions, one for windows and one for Linux. When Linux is booting, it would mount the the Linux partiton (say, /dev/hda2) to / so it can access files on there. Say there is a /mnt/win folder on the / filesystem. You can mount your windows partition (perhaps /dev/hda1) to this /mnt/win folder using this command: 'mount /dev/hda1 /mnt/win' . Once the windows partition is mounted at the /mnt/win mount point, you access the files on the windows partition by entering the /mnt/win folder: 'cd /mnt/win'.
 
Old 10-08-2003, 10:27 AM   #3
Wynd
Member
 
Registered: Jul 2001
Distribution: Slackware 12
Posts: 511

Rep: Reputation: 32
Basically, mount points are places that point to a file system, be it a partition on your hard drive, a floppy/CD drive, or even another computer. It's designed to seamlessl integrate with the directory structure. For example, in Windows, if you want to have a network drive available, you need to assign it a drive letter. Say Windows gives it E: . All your MP3s are on this network drive, so E: makes no sense. In *nix, you can mount it anywhere you want, so you could make a folder named /mp3s and mount the network drive there, and whenever you go to that folder it actually goes to the drive across the network. Also, if I add a Zip drive for example in Windows it will again give it a letter, like G: . In Linux, you can have it be at /zipdrive or wherever, and whenever you copy files to the /zipdrive folder, they go on the zip disk in the drive. So that's what mounting is for and what it does. Before you can use a disk or some hardware, you need to give it a place that points to it that you can use in the file system. AFAIK, Windows does it too, it's just automatic so you can't see it happening.
 
  


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
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 03:27 AM
what partitions(mount points) can you reuse in a multiple boot linux system? scottk88 Linux - General 5 08-01-2005 11:49 AM
Partitioning: File systems and Mount points Ice Dragon Linux - Newbie 3 03-11-2004 03:00 PM
creating mount points and is the data safe if i change system JMK Linux - Newbie 4 01-22-2004 09:57 AM
SCRIPT: check if auto-mount mount-points are still mounted markus1982 Linux - Software 0 05-25-2003 05:48 AM

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

All times are GMT -5. The time now is 12:23 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