]> git.lizzy.rs Git - plan9front.git/blob - sys/man/3/floppy
vac(1), ec(2), usb(3), hjfs(8): fix source reference
[plan9front.git] / sys / man / 3 / floppy
1 .TH FLOPPY 3 
2 .SH NAME
3 floppy \- floppy disk interface
4 .SH SYNOPSIS
5 .nf
6 .B bind -a #f /dev
7
8 .B /dev/fd0disk
9 .B /dev/fd0ctl
10 .B /dev/fd1disk
11 .B /dev/fd1ctl
12 .B /dev/fd2disk
13 .B /dev/fd2ctl
14 .B /dev/fd3disk
15 .B /dev/fd3ctl
16 .fi
17 .SH DESCRIPTION
18 .PP
19 The floppy disk interface serves a one-level directory giving access to up
20 to four floppy disk drives.
21 Each drive is represented by a data and control file.
22 There are no partitions.
23 .PP
24 Messages accepted by the
25 .B ctl
26 file include:
27 .TF format
28 .TP
29 .B eject
30 Eject the floppy, if possible.
31 .TP
32 .B reset
33 Reset the drive.
34 .TP
35 .BI format " type
36 Format the floppy.  The
37 .I type
38 sets the density and
39 type of disk to be formatted; see
40 .B format
41 in
42 .IR prep (8).
43 .PD
44 .PP
45 A read of the
46 .B ctl
47 file returns a string describing the form factor of the disk, one of
48 .BR 3½DD ,
49 .BR 3½HD ,
50 .BR 5¼DD ,
51 or
52 .BR 5¼HD .
53 .SH SOURCE
54 .B /sys/src/9/*/devfloppy.c