LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what is the device name for a floppy drive? (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-the-device-name-for-a-floppy-drive-723033/)

joseph2020 05-01-2009 05:38 PM

what is the device name for a floppy drive?
 
I want to mount my floppy drive using fstab.

My root drive is sda1, my second drive is sdb1, my cdrom is scd0...what is the designation for the floppy drive? sfd0?

thanks in advance.

forrestt 05-01-2009 05:39 PM

Usually it is "/dev/fd0". However, there is often a link to "/dev/floppy".

HTH

Forrest

R.Bucky 05-01-2009 09:01 PM

Another response
 
you could always use
Code:

cat /etc/fstab
to see what hardware is attached or use
Code:

sudo lshw
to learn about all of your hardware.

joseph2020 05-01-2009 11:07 PM

I give up, what am i doing wrong this time?
 
forrestt, Thank you for your reply.

here's my fstab:

Code:

# /etc/fstab: static file system information.
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
proc            /proc          proc    defaults        0      0
# /dev/sda1
UUID=7fbaa41e-4a01-4e9f-b1ea-52ba308beda4 /              ext3    relatime,erro$
# /dev/sda5
UUID=a497b290-d628-444d-b12f-2a1e99c97c4f none            swap    sw          $
#/dev/scd0  /media/cdrom0  udf,iso9660 user,noauto,exec,utf8 0      0
/dev/scd0    /media/cdrom  auto  user,noauto,owner,ro  0  0
#/dev/sdc1  media/backdrive  ext3  defaults    0  0
/dev/sdb1  /media/backdrive  ext2  defaults    0  0
/dev/fd0    /media/floppy    auto  user,noauto,owner    0  0  <------ line I added for floppy

and here's /media

Quote:

joe@joe-desktop:~$ ls /media

backdrive cdrom cdrom0 floppy

joe@joe-desktop:~$
I looked in /etc/dev and there is no entry for fd0, but there is one for fd...is fd the floppy drive name?

I still cannot access the floppy... Why isn't the floppy drive being mounted?

Thanks again

R.Bucky 05-01-2009 11:23 PM

mount floppy
 
The standard method for manually mounting a device is to first create the directory that you want to access that device.
Code:

sudo mkdir /media/floppy
Next, manually mount the device. In your case it would be
Code:

sudo mount /dev/fd0 /media/floppy
That should do it.

Another note; the /etc/dev directory will not have a directory link to your drive. It will be mounted at the /media/floppy

joseph2020 05-02-2009 12:01 AM

R.Bucky:
Quote:

The standard method for manually mounting a device is to first create the directory that you want to access that device.
Did that before, Here's /media:

backdrive cdrom cdrom0 floppy

Quote:

Next, manually mount the device. In your case it would be

Code: sudo mount /dev/fd0 /media/floppy
I tried that:

Quote:

joe@joe-desktop:~$ sudo mount /dev/fd0 /media/floppy
[sudo] password for joe:
mount: special device /dev/fd0 does not exist
joe@joe-desktop:~$
Thanks for trying, but problem persists

joseph2020 05-03-2009 02:50 AM

My last post on this topic...Thank you all who replied. It is appreciated.

onebuck 05-03-2009 07:57 AM

Hi,

You could open a terminal and login as 'root'. From the console cli do a 'mount /dev/fdo /media/floppy'. If this works then be sure your users are in the proper groups.

For your 'fstab' entry for the 'fd0' try;

Code:

/dev/fd0        /mnt/floppy      auto        noauto,owner    0  0

mishkind 05-03-2009 09:16 AM

Hi,
First you need to identify the device file for your floppy. Try: dmesg | grep -i floppy.
output From my Fedora installation:
Floppy drive(s): fd0 is 1.44M

This means my device file is /dev/fd0
Now I can mount it with:
mount /dev/fd0 <target dir> - with root permissions.


All times are GMT -5. The time now is 04:53 AM.