LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 05-01-2009, 06:38 PM   #1
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Rep: Reputation: Disabled
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.
 
Old 05-01-2009, 06:39 PM   #2
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

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

HTH

Forrest
 
Old 05-01-2009, 10:01 PM   #3
R.Bucky
LQ Newbie
 
Registered: May 2009
Location: Olympia, WA
Distribution: Ubuntu Server 8.04, Kubuntu 9.04
Posts: 8

Rep: Reputation: 1
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.
 
Old 05-02-2009, 12:07 AM   #4
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-02-2009, 12:23 AM   #5
R.Bucky
LQ Newbie
 
Registered: May 2009
Location: Olympia, WA
Distribution: Ubuntu Server 8.04, Kubuntu 9.04
Posts: 8

Rep: Reputation: 1
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
 
Old 05-02-2009, 01:01 AM   #6
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-03-2009, 03:50 AM   #7
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Original Poster
Rep: Reputation: Disabled
My last post on this topic...Thank you all who replied. It is appreciated.
 
Old 05-03-2009, 08:57 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
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
 
Old 05-03-2009, 10:16 AM   #9
mishkind
LQ Newbie
 
Registered: Nov 2007
Posts: 10

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I need to mount a floppy drive, optical drive, jumpdrive & burning CD's. talagm SUSE / openSUSE 7 04-23-2009 06:14 AM
install without cdrom drive,floppy drive,previous os curos Slackware - Installation 2 08-08-2006 08:08 PM
Floppy drive interfaced tape drive in Slackware isolationist Linux - Hardware 6 02-13-2006 06:54 AM
boot from floppy drive then insall linux redhat9 from HARD DRIVE Shiraz Ahmed Linux - Software 0 08-23-2004 06:11 AM
How to copy a file to floppy and list file on floppy device kabeko Linux - Newbie 3 12-10-2003 12:36 AM


All times are GMT -5. The time now is 11:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration