Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (3) — Plan9 4th Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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:

­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. 

Plan 9  —  November 13, 2011

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026