LinuxQuestions.org
Help answer threads with 0 replies.
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 04-22-2003, 09:14 AM   #1
sadiboyz
LQ Newbie
 
Registered: Apr 2003
Location: wollongong, australia
Distribution: red hat
Posts: 28

Rep: Reputation: 15
mounting


Could someone please tell me a website or a good book which explains, what does mounting mean, and how it is done and how it works , coz this mounting stuff is soooooo confusing that i am sick of it.
Please reply soon
 
Old 04-22-2003, 09:25 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Mounting is just the term given to making the contents of something like a CD-ROM, floppy disk or hard disk partition available. Its a bit like creating a logical link between a location on your file system and a physical device. So doing something like
Code:
mount /dev/fd0 /mnt/floppy
tells the system that when you access the /mnt/floppy directory that you really want to deal with the contents of device /dev/fd0 (your first floppy disk).

Does that make any sense? What bit is confusing you?

cheers

Jamie...
 
Old 04-22-2003, 09:36 AM   #3
sadiboyz
LQ Newbie
 
Registered: Apr 2003
Location: wollongong, australia
Distribution: red hat
Posts: 28

Original Poster
Rep: Reputation: 15
well thanks a lot jamine
but i am trying to mount my floppy drive the way you mentioned above, but why did you use fd0 can't we use some thing else, and if we do use fd0, is it a convention or there is a rule behind it
one more question do we mount floppy drive or the floppy disk(and the filesystem of floppy disk with which it is being formatted).
what if i want to mount my other part of the hard disk which has winXP on it so that i can play music while in linux and how do i know that if winXP partition is hda1, hdb7 or whatever it is. how do i find that out
please reply
 
Old 04-22-2003, 09:52 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Didn't I cover this topic in another thread you started maybe say here: http://www.linuxquestions.org/questi...threadid=55961

And you never replied back.. Hmm.. Lets keep existing topics in their original threads please.
 
Old 04-22-2003, 09:55 AM   #5
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Quote:
Originally posted by sadiboyz
but i am trying to mount my floppy drive the way you mentioned above, but why did you use fd0 can't we use some thing else, and if we do use fd0, is it a convention or there is a rule behind it
/dev/fd0 is a special file that is linked to the first floppy disk drive on your system. You could create another file say called /dev/floppy using the mknod program or you could create a symbolic link (symlink) from /dev/fd0 to /dev/someOtherName however /dev/fd0 is the convention used and no one really bothers to change it.
Quote:
Originally posted by sadiboyz
one more question do we mount floppy drive or the floppy disk(and the filesystem of floppy disk with which it is being formatted).
I don't quite follow what you mean. When you mount a floppy disk you are really accessing the file system on whatever disk is in that drive. Because you are accessing the file system on that specific disk you need to unmount (umount) then remount (mount) the drive if you are going to change floppy disks.
Quote:
Originally posted by sadiboyz
what if i want to mount my other part of the hard disk which has winXP on it so that i can play music while in linux and how do i know that if winXP partition is hda1, hdb7 or whatever it is. how do i find that out
You use a similar mount command, although exactly what device you use depends on your system. Here's how the conventions work. /dev/hda is the first IDE device (the master device on your first IDE chanel) in your system. This is nearly always a hard disk. /dev/hdb is the second IDE device in your system (the slave device on your first IDE chanel). /dev/hdc is the third IDE device (the master device on your second IDE chanel). /dev/hdd is the fourth IDE device (and what a surprise - it's the slave device on the second IDE chanel). But these are just the devices...

Things like hard disks also have partitions, so... /dev/hda1 is the first partition on the first IDE device, /dev/hda4 is the forth partition on the first IDE device. The third partition on your fourth IDE device would be /dev/hdd3. You follow?

So exactly which device you mount to get to your WindowsXP file system depends on exactly which partition you have installed windows on. You may be able to figure this out from doing cfdisk /dev/hda and seeing what it shows you. If you had windows installed on the first partition on your first hard disk then you would use
Code:
mount /dev/hda1 /someDir
where /someDir is a directory that you have already created.

That make any sense?

cheers

Jamie...
 
Old 04-22-2003, 09:58 AM   #6
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Quote:
Originally posted by trickykid
Didn't I cover this topic in another thread you started...
I started to cover the mounting of Windows partitions earlier too (started by the same guy)... Will have to post that link too...

http://www.linuxquestions.org/questi...threadid=56254

Jamie...

Last edited by jharris; 04-22-2003 at 09:59 AM.
 
Old 04-22-2003, 10:09 AM   #7
sadiboyz
LQ Newbie
 
Registered: Apr 2003
Location: wollongong, australia
Distribution: red hat
Posts: 28

Original Poster
Rep: Reputation: 15
hai guys i am new and i don't know how to use the forum i posted that first message like two days back and i tried what you guys suggested and it didn't work so i did it again today ,so sorry if i have done something worng
 
Old 04-22-2003, 10:14 AM   #8
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
We're just saying that its best to keep all your similar questions in the same thread, and if we suggest something and it doesn't work them reply in the same thread, rather than asking another question about pretty much the same thing. It just makes it easier to follow whats been tried and get an idea for what the problem may be if all the info is available in one place.

Having said that, if you do have a completely new question then put it in a new thread, otherwise people won't realise that it's a new question and you'll probably get no answers.

cheers

Jamie...
 
Old 04-22-2003, 10:23 AM   #9
sadiboyz
LQ Newbie
 
Registered: Apr 2003
Location: wollongong, australia
Distribution: red hat
Posts: 28

Original Poster
Rep: Reputation: 15
Jamine thanks a lot man , it did help a lot and i will try to put it into practice and let us see what happens
you are a champ
Thanks once again
 
  


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
Mounting an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 04:40 PM
Gnome 2.6 Right click mounting and the mounting system Acetylcholine Linux - Hardware 0 07-25-2004 07:34 AM
Mounting HDD vs. Mounting Filesystem snailophone Linux - Hardware 4 08-12-2003 11:00 AM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM
mounting Cybergod1983 Linux - General 1 10-08-2001 03:28 PM

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

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