Commit | Line | Data |
---|---|---|
05b75eac KM |
1 | .\" Copyright (c) 1983 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
8e2edef7 | 5 | .\" @(#)rxformat.8 6.3 (Berkeley) %G% |
05b75eac | 6 | .\" |
7ae62f7c | 7 | .TH RXFORMAT 8V "" |
05b75eac KM |
8 | .UC 5 |
9 | .SH NAME | |
10 | rxformat \- format floppy disks | |
11 | .SH SYNOPSIS | |
12 | .B /etc/rxformat | |
13 | [ | |
14 | .B \-d | |
15 | ] special | |
16 | .SH DESCRIPTION | |
17 | The | |
18 | .I rxformat | |
19 | program formats a diskette in the specified drive | |
20 | associated with the special device | |
21 | .IR special . | |
22 | ( | |
23 | .I Special | |
7ae62f7c | 24 | is normally /dev/rx0, for drive 0, or /dev/rx1, |
05b75eac KM |
25 | for drive 1.) |
26 | By default, the diskette is formatted single density; | |
27 | a | |
28 | .B \-d | |
29 | flag may be supplied to force double density formatting. | |
30 | Single density is compatible | |
31 | with the IBM 3740 standard (128 bytes/sector). | |
32 | In double density, each sector | |
33 | contains 256 bytes of data. | |
34 | .PP | |
35 | Before formatting a diskette | |
36 | .I rxformat | |
8461d308 JB |
37 | prompts for verification if standard input is a tty |
38 | (this allows a user to cleanly | |
05b75eac KM |
39 | abort the operation; note that |
40 | formatting a diskette will destroy any existing data). | |
41 | Formatting is done by the hardware. | |
42 | All sectors are zero-filled. | |
43 | .SH DIAGNOSTICS | |
44 | `No such device' means that the drive is not ready, | |
45 | usually because no disk is in the drive or the drive door is open. | |
46 | Other error messages are selfexplanatory. | |
47 | .SH FILES | |
48 | /dev/rx? | |
49 | .SH SEE ALSO | |
50 | rx(4V) | |
8e2edef7 NC |
51 | .SH AUTHOR |
52 | Helge Skrivervik | |
05b75eac KM |
53 | .SH BUGS |
54 | A floppy may not be formatted if the | |
55 | header info on sector 1, track 0 has been damaged. Hence, it is not | |
56 | possible to format a completely degaussed disk. | |
57 | (This is actually a problem in the hardware.) |