LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-28-2004, 10:55 AM   #1
Mytherall
Member
 
Registered: Feb 2004
Location: Wisconsin, USA
Distribution: Gentoo 1.4
Posts: 36

Rep: Reputation: 15
Floppy drive - /dev/fd ?


is the floppy on /dev/fd?

because when I

Quote:
cd /dev/fd
dir
0 1 2 255
it and it should be telling me there is a bz2 file on there

the floppy is formated from win98 with fat... I'm told that would be recognised.

there is a bz2 file on the floppy i need to copy off to get dri to work

Last edited by Mytherall; 02-28-2004 at 10:57 AM.
 
Old 02-28-2004, 11:05 AM   #2
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
/dev/fd is a special device directory. In Linux, every device has a place in the filesystem. To access the floppy, you need to mount it.
mkdir floppydir

su
rootpass
#mout /dev/fd0 floppydir
exit
ls floppydir

This is a bit tedious. Most distros have some shortcuts like having a mount point for floppy already defined in /etc/fstab
so mount /dev/fd0 or mount /mnt/floppy will work

Others have auto mounting so you just insert the floppy and
ls /mnt/floppy works.

You may want to read docs for your distro or rute.html on the web etc.
 
Old 02-28-2004, 11:24 AM   #3
Mytherall
Member
 
Registered: Feb 2004
Location: Wisconsin, USA
Distribution: Gentoo 1.4
Posts: 36

Original Poster
Rep: Reputation: 15
when I do

Quote:
mkdir floppydir
mount -t auto /dev/fd0 floppydir
i get

Quote:
mount: you must specify the filesystem type

edit: note fat 16 and fat 32 are not supported by the kernel

Last edited by Mytherall; 02-28-2004 at 11:53 AM.
 
Old 02-28-2004, 03:36 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Without fat filesystem supported in the kernel you won't be able to mount the floppy. If you have the kernel source you compiled it from with the right configuration, just add fat support as module, run 'make modules' and copy the fat modeul to your /lib/modules. Then try to load it.
 
Old 02-29-2004, 03:54 PM   #5
thisismadness
LQ Newbie
 
Registered: Feb 2004
Location: long beach, ca
Posts: 13

Rep: Reputation: 0
on the same question ... how do i find out if i have this:

"Most distros have some shortcuts like having a mount point for floppy already defined in /etc/fstab
so mount /dev/fd0 or mount /mnt/floppy will work

Others have auto mounting so you just insert the floppy and
ls /mnt/floppy works."

??
 
Old 02-29-2004, 07:24 PM   #6
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
ls /etc/fstab
look for a line like /dev/fd0 /mnt/floppy .....
or insert a floppy with some files on it and type
ls /mnt/floppy
 
  


Reply



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 cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
where did my SATA drive go? not /dev/hde or /dev/sda edman007 Linux - Hardware 1 01-16-2005 10:23 PM
floppy dev=what master Red Hat 4 01-14-2005 06:22 PM
boot from floppy drive then insall linux redhat9 from HARD DRIVE Shiraz Ahmed Linux - Software 0 08-23-2004 05:11 AM
I have overwritten /dev/fd0! How do I recreate /dev/fd0 to access my floppy? drscott1 Linux - Newbie 2 02-19-2004 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:30 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
Open Source Consulting | Domain Registration