Solved

mount my floppy dirve

Posted on 2000-04-15
7
343 Views
Last Modified: 2010-04-20
why that I can't mount my floppy drive by this way : mount -t msdos /mnt/floppy /somedir/ but mount it like this way : mount /dev/fd0 /mnt/floppy -t vfat, can anyone explain it to me ?
0
Comment
Question by:ahchong
  • 3
  • 3
7 Comments
 
LVL 1

Accepted Solution

by:
paulmitch earned 20 total points
ID: 2719186
The syntax of the mount command is:

mount -t <FS type> /dev/<DEVICE> /<DIRECTORY TO MOUNT ON>

Your second command, which you say works, follows this syntax.  The first however, specifies a directory, /mnt/floppy instead of /dev/fd0 as the device.

/mnt/floppy is not the floppy device, but /dev/fd0.

Check the mount man page for a wealth of information:

man mount

Cheers,

Paul
0
 

Author Comment

by:ahchong
ID: 2719754
yes !! Thanks, before I give the points, still got a question, how you know which device use fdx or hdx ?
0
 
LVL 1

Expert Comment

by:paulmitch
ID: 2720233
fdx are drives connected to the floppy controller, and hdx are drives connected to the ide bus.

hda - primary master
hdb - primary slave
hdc - secondary master
hdd - secondary slave

fd0 - first device on floppy controller
fd1 - second device on floppy controller

(Note that fd is not necessarily a floppy drive - you can connect tape drives on the floppy controller.  Also, hd is not necessarily a hard disk drive - you can connect cdrom drives on the ide bus)

Note that in kernel 2.3.x and 2.4.x when  it is released (I imagine you are running a 2.2.x kernel) the ide devices will change to be called ide0, ide1 etc etc.

Paul
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:ahchong
ID: 2722664
then how can I mount the cdrom ?
0
 
LVL 1

Expert Comment

by:andrewljohn70
ID: 2722786
Hi ahchong,
use the command

mount /mnt/cdrom

to mount the cdrom drive.

read the 'man mount' pages, That is the basic and the details of all information.
Careful with the points  :)
0
 

Author Comment

by:ahchong
ID: 2725869
hello, I heard that I will need to know which partition (they said hda1, hda2, hda3...), is it true that got hda1, hda2 ??? If realy got, how can I know that my Windows is hdax ??? (because I want to load the file from my windows)
0
 
LVL 1

Expert Comment

by:paulmitch
ID: 2726338
Yes, you need the partition number.  I would suggest the easiest is to simply try out a few different numbers!

mount -t vfat /dev/hda1 /mnt/windows

and if that doesn't work, thry hda2 etc etc.  It'll probably be hda1.

Paul
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question