How to get floppy drive working in 64-bit FreeBSD

In 64-bit FreeBSD has a bug … or a feature which prevents system to see floppydrive. No problem, it can be fixed. The fix is to add the next lines to the /boot/device.hints file.

hint.fdc.0.at="isa"
hint.fdc.0.port="0x3F0"
hint.fdc.0.irq="6"
hint.fdc.0.drq="2"
hint.fdc.0.flags="0x0"
hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.fd.0.flags="0x0"
hint.fd.1.at="fdc0"
hint.fd.1.drive="1"
hint.fd.1.flags="0x0"

After editing, reboot, and floppy drive should be workable

fdcontrol /dev/fd0

If floppy is not mounted, the message tells its size (1,4 M)

If floppy is mounted, the message tells full information.

To mount floppy

mkdir /a

mount -t msdos /dev/fd0 /a

To see if floppy is mounted

fdcontrol /dev/fd0

Read also https://puolanka.info/goto/floppy-drive-in-freebsd/

============================================

FLOPPY-HELPER.zip