LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where is my floppy drive? (https://www.linuxquestions.org/questions/linux-newbie-8/where-is-my-floppy-drive-168638/)

Ekim Gram 04-10-2004 09:41 PM

Where is my floppy drive?
 
Alright, I have a text file I just typed up under Slackware 9.0 during a Gnome Session. Only thing is...I want to put it on a floppy disk so I can bring it over to my Windows computer...but where the hell is it located? I tried /dev/fd but that was know good (assuming fd stood for floppy drive).

Ever since I went back to Linux after a few months of Windows programming, I sure feel like a :newbie: :cry:

GT_Onizuka 04-10-2004 09:50 PM

Your floppy disk drive is probably located at /dev/fd0. You can mount it using

$ mount /dev/fd0 /mnt/floppy

Or wherever you want to mount it. Be sure to umount before you eject it.

spurious 04-10-2004 09:53 PM

The most basic way under Slackware is this: put your floppy disk in the drive, open a console, then type in the following:

mount /mnt/floppy

Your floppy disk is now mounted under /mnt/floppy. Copy your text file to /mnt/floppy e.g.:

cp textfile.txt /mnt/floppy

Then unmount the floppy disk before ejecting: umount /mnt/floppy

The above should work on a default Slackware install. However, if you want to use the mount command on a different Linux box, the actual mount command is:

mount -t vfat /dev/fd0 /mnt/floppy

Note that you can mount the floppy drive to any directory, not just /mnt/floppy. You can mkdir something like /A-drive and do: mount -t vfat /dev/fd0 /A-drive


All times are GMT -5. The time now is 07:29 AM.