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