Using your floppy

Using your floppy

The following is an answer I sent to the FreeBSD questions mailing list:

On 15 Jan
99, at 22:19, Roy D. Fulton wrote:
> I’m new to FreeBSD and am quite rusty with UNIX period. I’m having
> trouble trying to use the floppy. Can anyone give me examples of the
> commands needed to prepare, read, and write to a blank floppy, and also
> how to use DOS floppies?

I was trying the same thing last night. I was told to do the following:

format: 		fdformat /dev/rfd0
disk label:		disklabel -w -r /dev/rfd0 fd1440
new file system:	newfs /dev/rfd0

[I’m now running 5.2.1 on my laptop, and I don’t have a /dev/rfd0. I’m using
/dev/fd0 instead and all seems well.]

I’ve been told to do the above, then mount it. Then you can treat it like any other
file system. Use cp to copy, mv to move, etc.

mount floppy: 		mount /dev/fd0 /mnt
mount DOS floppy: 	mount -t msdos /dev/fd0 /mnt

The above commands allow you to access the contents of the floppy via the /mnt

and remember to unmount:

umount /mnt

Hope this helps.

Quick mount floppy

This tip is thanks to aLan Tait <>.

might have seen the article on quickly mounting the CD-ROM
Well, here’s one for your floppy.  First, create a mount point for your floppy:

mkdir /fdd

Then add this line to you /etc/fstab file:

/dev/fd0    /fdd    ufs  rw,noauto    0    0

With such a line, you can mount/unmount your fdd with just the following commands:

mount  /fdd
umount /fdd 

4 thoughts on “Using your floppy”

  1. I’ve been trying to mount a floppy for what seems like years. But I don’t have /dev/rfd0 to issue fdformat against …

    So I use su and cd /dev and sh MAKEDEV all

    and I get:
    mknod: <device>: Operation not permitted
    /sbin/mknod <device>

    where <device> is about a hundred or so standard devices, including rfd0, da0, ad0, wd1s1, etc.

    What’s going on here? Why is root not permitted to use mknod in /dev?

    1. After I mount if I then unmount and change the files on my windows computer then remount the floppy it still shows the old files – they are stuck in cache – how do I tell it to get the new files from the floppy? I remember there is a command for this but I havent used it in a few years


Leave a Comment

Scroll to Top