xref: /plan9/sys/man/3/floppy (revision 22952f484c0967ec59beb7cc82e72360161300c6)
FLOPPY 3
NAME
floppy - floppy diskette interface
SYNOPSIS
 bind -a #f /dev 
 /dev/fd0disk  /dev/fd0ctl  /dev/fd1disk  /dev/fd1ctl  /dev/fd2disk  /dev/fd2ctl  /dev/fd3disk  /dev/fd3ctl 
DESCRIPTION
The floppy diskette interface serves a one-level directory giving access to up to four floppy diskette drives. Each drive is represented by a data and control file. There are no partitions.

Messages accepted by the ctl file include: .TF format

eject Eject the floppy, if possible.

reset Reset the drive.

format " type Format the floppy. The type sets the density and type of diskette to be formatted; see format in prep (8).

A read of the ctl file returns a string describing the form factor of the diskette, one of 3½DD , 3½HD , 5¼DD , or 5¼HD .

SOURCE
/sys/src/9/pc/devfloppy.c
BUGS
Floppies are tiny, unreliable and eventually wear out.