Mounting a floppy drive
When I look at my /mnt directory I only see my cdrom. How would I go about mounting my floppy drive?
|
First, we'll get root able to mount it, then we'll worry about users...
As root, create a directory to mount it to... # mkdir /mnt/floppy Put a floppy in, and try mounting it... # mount -t vfat /dev/fd0 /mnt/floppy If it doesn't give you an error, try listing what's on the floppy... # ls /mnt/floppy If it lists, you are golden. You can then unmount it with... #umount /mnt/floppy ...Note the spelling, it's not uNmount, it's umount. I don't know why, it just is. If that works, reply, and we'll work on setting up you /etc/fstab to allow any user to mount/unmount the floppy. |
Hrmm. I tried what you said. Here is exactly what I did...
[jared@localhost jared]$ su - [root@localhost root]# mkdir /mnt/floppy [root@localhost root]# mount -t vfat /dev/fd0 /mnt/floppy mount: /dev/fd0 is not a valid block device [root@localhost root]# It gave me that "mount: /dev/fd0 is not a valid block device". I know the floppy is working because I recently used it to flash my bios. |
Ack, nevermind, that worked. I'm a retard. I didn't have a disk in :). Now we can try to make it so that every one can do that. Also, how can I get it to mount automatically on startup?
|
Add a line to the /etc/fstab file. For how to do so: look at the file, it's almost self-explanatory; read 'man fstab'; search here, it's asked all the time. For automatic mounting put 'auto' in the options field.
|
All times are GMT -5. The time now is 08:21 AM. |