Commit | Line | Data |
---|---|---|
b42074ab | 1 | .\" Copyright (c) 1983, 1991 The Regents of the University of California. |
e157b129 | 2 | .\" All rights reserved. |
05b75eac | 3 | .\" |
1c12d6fc | 4 | .\" %sccs.include.redist.man% |
05b75eac | 5 | .\" |
b42074ab | 6 | .\" @(#)rxformat.8 6.6 (Berkeley) %G% |
e157b129 | 7 | .\" |
b42074ab CL |
8 | .Dd |
9 | .Dt RXFORMAT 8 | |
10 | .Os BSD 4.2 | |
11 | .Sh NAME | |
12 | .Nm rxformat | |
13 | .Nd format floppy disks | |
14 | .Sh SYNOPSIS | |
15 | .Nm rxformat | |
16 | .Op Fl d | |
17 | .Ar special | |
18 | .Sh DESCRIPTION | |
05b75eac | 19 | The |
b42074ab | 20 | .Nm rxformat |
05b75eac KM |
21 | program formats a diskette in the specified drive |
22 | associated with the special device | |
b42074ab CL |
23 | .Ar special . |
24 | .Pf ( Ar Special | |
25 | is normally | |
26 | .Pa /dev/rx0 , | |
27 | for drive 0, or | |
28 | .Pa /dev/rx1 , | |
05b75eac | 29 | for drive 1.) |
b42074ab CL |
30 | .Pp |
31 | Available option: | |
32 | .Bl -tag -width Ds | |
33 | .It Fl d | |
34 | Force double density formatting. | |
05b75eac | 35 | By default, the diskette is formatted single density; |
05b75eac | 36 | Single density is compatible |
b42074ab CL |
37 | with the |
38 | .Tn IBM | |
39 | 3740 standard (128 bytes/sector). | |
05b75eac KM |
40 | In double density, each sector |
41 | contains 256 bytes of data. | |
b42074ab CL |
42 | .El |
43 | .Pp | |
05b75eac | 44 | Before formatting a diskette |
b42074ab | 45 | .Nm rxformat |
8461d308 JB |
46 | prompts for verification if standard input is a tty |
47 | (this allows a user to cleanly | |
05b75eac KM |
48 | abort the operation; note that |
49 | formatting a diskette will destroy any existing data). | |
50 | Formatting is done by the hardware. | |
51 | All sectors are zero-filled. | |
b42074ab CL |
52 | .Sh DIAGNOSTICS |
53 | .Bl -tag -width Ds | |
54 | .It Sy \&No such device | |
55 | means that the drive is not ready, | |
05b75eac KM |
56 | usually because no disk is in the drive or the drive door is open. |
57 | Other error messages are selfexplanatory. | |
b42074ab CL |
58 | .El |
59 | .Sh FILES | |
60 | .Bl -tag -width /dev/rx? -compact | |
61 | .It Pa /dev/rx? | |
62 | .El | |
63 | .Sh SEE ALSO | |
64 | .Xr rx 4 | |
65 | .Sh AUTHOR | |
8e2edef7 | 66 | Helge Skrivervik |
b42074ab | 67 | .Sh BUGS |
05b75eac KM |
68 | A floppy may not be formatted if the |
69 | header info on sector 1, track 0 has been damaged. Hence, it is not | |
70 | possible to format a completely degaussed disk. | |
b42074ab CL |
71 | (This is actually a problem in the DEC hardware.) |
72 | .Sh HISTORY | |
73 | The | |
74 | .Nm | |
75 | command appeared in | |
76 | .Bx 4.2 . |