FLOPPY(3)FLOPPY(3)

NAME

floppy – floppy disk 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 disk interface serves a one-level directory giving access to up to four floppy disk drives. Each drive is represented by a data and control file. There are no partitions.

Messages accepted by the ctl file include:

eject

Eject the floppy, if possible.  

reset

Reset the drive.  

format type

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

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

SOURCE

/sys/src/9/*/devfloppy.c