summaryrefslogtreecommitdiff
path: root/sys/man/3/floppy
blob: f1b3546632d72e7a0fbcff115c0a56cf53155f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
.TH FLOPPY 3 
.SH NAME
floppy \- floppy disk interface
.SH SYNOPSIS
.nf
.B bind -a #f /dev

.B /dev/fd0disk
.B /dev/fd0ctl
.B /dev/fd1disk
.B /dev/fd1ctl
.B /dev/fd2disk
.B /dev/fd2ctl
.B /dev/fd3disk
.B /dev/fd3ctl
.fi
.SH DESCRIPTION
.PP
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.
.PP
Messages accepted by the
.B ctl
file include:
.TF format
.TP
.B eject
Eject the floppy, if possible.
.TP
.B reset
Reset the drive.
.TP
.BI format " type
Format the floppy.  The
.I type
sets the density and
type of disk to be formatted; see
.B format
in
.IR prep (8).
.PD
.PP
A read of the
.B ctl
file returns a string describing the form factor of the disk, one of
.BR 3½DD ,
.BR 3½HD ,
.BR 5¼DD ,
or
.BR 5¼HD .
.SH SOURCE
.B /sys/src/9/*/devfloppy.c