Solved

mount my floppy dirve

Posted on 2000-04-15
7
342 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Auto channel for WiFi (Access Point) 3 77
nagios monitor 3 44
php ssh2_scp_send 1 49
Install Predefined Certificate on Ubunto 4 17
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now