Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 12-12-2002, 10:06 AM   #1
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Rep: Reputation: 30
question about mounting a partition ...

I think I may know the answer to this but I wanted to know for sure. /mnt/win is a directory on my Linux harddrive. When I mount windows and then look at my windows partition via linux is windows really in that /mnt/win directory on my LINUX drive or am I looking at /mnt/win and windows in memory. What I mean is that when i SEE windows from /mnt/win directory which is obviously a directory on my Linux partition are all those windows files really on my Linux partition within /mnt/win or is /mnt/win just a mount point in memory?

thank you
Old 12-12-2002, 10:13 AM   #2
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
/mnt/win is a file on your linux partition

when you use it as a mount point then by looking in the file you see what's mounted there

the files are on the mounted partition, the folder is a file on the linux partition
Old 12-12-2002, 10:16 AM   #3
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
You are actually viewing your Windows partition. They are not on you Linux partition any more than other's files are on your harddisk when you view someone else's share over a network. The files are on your Windows partition still. It is just that you are viewing them in the /mnt/win directory... for example:
If you mount your Windows 'C' drive to /mnt/win_1 and you mount it to /mnt/win_2, you are viewing exactly the same Windows partition, but it takes up no more space for having been mounted twice! It is all due to Linux's heritage.
Old 12-12-2002, 10:18 AM   #4
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Well, when issue mount command it mounts a scpecified partition on a specified mount point, so the files in mount point are real as in physical and virtual sense. You mount a chunk of your hardrive, that chunk is limited by a starting block size and ending block size, so everything in the range of start and end is mounted for your convinience in the mount point. Once you umount the partition the data is still on HDD but no longer seen in the mounted point. I hope it squares the confusion away b/c Windows make mounts seemless for you, when you open up Windows Explorer and see the letter for your CD-ROM it is just a "mount point", when you put CD in and click on the drive letter for your CD windows takes care of mounting it itself, in linux the life seems to be easier with supermount bits, but it never worked for me, so I don't know, as for your / for instance it gets mounted on boot up before the kernel loads, because system must know where to look for kernel.
Old 12-12-2002, 02:09 PM   #5
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Original Poster
Rep: Reputation: 30
Ok I get it I think ... so when I look at 'winbloze' and see my .mp3's those mp3's aren't actually on my Linux partition in the /mnt/win directory?? Or is /mnt/win a 'file' in RAM that contains the names of the files in windows and then references them by way of the file and takes the data from my actual physical windows partition?

thanks alot guys
Old 12-12-2002, 03:01 PM   #6
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
win on linux is an actual file on the linux hard drive in the mnt folder which by the way is also a file on the linux drive in /

basically everything you see is a file

if you look at the proc folder those files exist only in memory

Last edited by DavidPhillips; 12-12-2002 at 03:03 PM.
Old 12-12-2002, 04:27 PM   #7
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You are just looking at that part of your hard drive. You mount something to make it readable, that's all. Whatever your mount point is, is so you have somewhere to go look at this info. It's the info on the actual hd though...

If that makes anymore sense than anything else, probably not...



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
Mounting Partition DDRfreak2 Mandriva 8 09-10-2005 12:33 PM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 10:59 AM
Mounting DOS partition ... easy question. jrpretz Linux - Newbie 3 07-20-2003 09:34 PM
Question about mounting a FAT32 partition Genshooter Linux - Hardware 2 08-20-2002 09:59 PM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:31 AM.

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