DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st May 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Default You mount the floppy disk this way.

I have decided to move this post across from bsdforums. Thankfully, floppy disks are getting less common (and not before time!!), but some poor luser is sure to end up stuck with them.


[Instructions for FreeBSD]
The floppy device is known as /dev/fd0 for the first (and generally only) floppy drive.
The command to use to make it available is mount. mount can do a lot of things, so it's man page is complex. Read it - some other time.
To use an msdos floppy disk, do this.
1. Gain root privileges. Either log in as root, use sudo (if you have that installed) or use the su command
$ su
password: << type in the root password

2. create a folder to use to access the drive. It can be anywhere.
# mkdir /floppy

3. mount the disk with this command
# mount -t msdosfs /dev/fd0 /floppy

Note that, in NetBSD and OpenBSD, the command would be
# mount -t msdos /dev/fd0a /floppy


Now you will find the entire disks contents available under the /floppy directory.
MOST IMPORTANT - after you have finished using it, you must unmount it. use the command

# umount /floppy

Note that there us no `n' in umount. This must be done because the system may not write the data to the disk until you do this. You can end up with 0-length files if you don't.

PS. the $ and # at the start of the lines represents the prompt. the $ refers to the ordinary user prompt, and # represents the superuser or root prompt. Do not type them in.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.

Last edited by robbak; 2nd May 2008 at 12:13 PM. Reason: Removed FIXME remark. oicat confirmed Open/Net syntax
Reply With Quote
Reply

Tags
floppies, floppy disk, mount

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
boot floppy - internet involved? Lazy FreeBSD Installation and Upgrading 15 26th June 2010 05:14 PM
Can I mount AIX disk in NetBSD? sami NetBSD General 2 24th June 2009 05:08 PM
Disk geometry for Seagate disk phreud FreeBSD Installation and Upgrading 5 8th November 2008 10:51 PM
how to mount external hard disk ? bsdnewbie999 FreeBSD General 6 27th May 2008 02:37 AM
install Free BSD to boot off a floppy aromes FreeBSD Installation and Upgrading 4 5th May 2008 04:08 AM


All times are GMT. The time now is 11:52 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick