]>
Commit | Line | Data |
---|---|---|
6dbe3af9 KZ |
1 | .\" Copyright 1992, 1993 Rickard E. Faith (faith@cs.unc.edu) |
2 | .\" May be distributed under the GNU General Public License | |
e0402441 | 3 | .TH FDFORMAT 8 "July 2014" "util-linux" "System Administration" |
6dbe3af9 | 4 | .SH NAME |
232dc924 | 5 | fdformat \- low-level format a floppy disk |
6dbe3af9 KZ |
6 | .SH SYNOPSIS |
7 | .B fdformat | |
f49ccec2 | 8 | .RI [options] " device" |
6dbe3af9 KZ |
9 | .SH DESCRIPTION |
10 | .B fdformat | |
449a215f | 11 | does a low-level format on a floppy disk. |
6dbe3af9 | 12 | .I device |
449a215f | 13 | is usually one of the following (for floppy devices the major = 2, and the |
6dbe3af9 KZ |
14 | minor is shown for informational purposes only): |
15 | .sp | |
16 | .nf | |
17 | .RS | |
18 | /dev/fd0d360 (minor = 4) | |
19 | /dev/fd0h1200 (minor = 8) | |
20 | /dev/fd0D360 (minor = 12) | |
21 | /dev/fd0H360 (minor = 12) | |
22 | /dev/fd0D720 (minor = 16) | |
23 | /dev/fd0H720 (minor = 16) | |
24 | /dev/fd0h360 (minor = 20) | |
25 | /dev/fd0h720 (minor = 24) | |
26 | /dev/fd0H1440 (minor = 28) | |
99ba55ef | 27 | .PP |
6dbe3af9 KZ |
28 | /dev/fd1d360 (minor = 5) |
29 | /dev/fd1h1200 (minor = 9) | |
30 | /dev/fd1D360 (minor = 13) | |
31 | /dev/fd1H360 (minor = 13) | |
32 | /dev/fd1D720 (minor = 17) | |
33 | /dev/fd1H720 (minor = 17) | |
34 | /dev/fd1h360 (minor = 21) | |
35 | /dev/fd1h720 (minor = 25) | |
36 | /dev/fd1H1440 (minor = 29) | |
37 | .RE | |
38 | .fi | |
99ba55ef | 39 | .PP |
6dbe3af9 KZ |
40 | The generic floppy devices, /dev/fd0 and /dev/fd1, will fail to work with |
41 | .B fdformat | |
42 | when a non-standard format is being used, or if the format has not been | |
43 | autodetected earlier. In this case, use | |
44 | .BR setfdprm (8) | |
45 | to load the disk parameters. | |
6dbe3af9 KZ |
46 | .SH OPTIONS |
47 | .TP | |
e0402441 JC |
48 | \fB\-f\fR, \fB\-\-from\fR \fIN\fR |
49 | Start at the track \fIN\fR (default is 0). | |
50 | .TP | |
51 | \fB\-t\fR, \fB\-\-to\fR \fIN\fR | |
0cbdf6e2 | 52 | Stop at the track \fIN\fR. |
e0402441 JC |
53 | .TP |
54 | \fB\-r\fR, \fB\-\-repair\fR \fIN\fR | |
55 | Try to repair tracks failed during the verification (max \fIN\fR retries). | |
56 | .TP | |
b06c1ca6 | 57 | \fB\-n\fR, \fB\-\-no\-verify\fR |
449a215f | 58 | Skip the verification that is normally performed after the formatting. |
99ba55ef SK |
59 | .TP |
60 | \fB\-V\fR, \fB\-\-version\fR | |
b4362b6f | 61 | Display version information and exit. |
99ba55ef SK |
62 | .TP |
63 | \fB\-h\fR, \fB\-\-help\fR | |
b4362b6f | 64 | Display help text and exit. |
6dbe3af9 KZ |
65 | .SH "SEE ALSO" |
66 | .BR fd (4), | |
f053ff1e | 67 | .BR emkfs (8), |
6dbe3af9 | 68 | .BR mkfs (8), |
f053ff1e | 69 | .BR setfdprm (8) |
6dbe3af9 KZ |
70 | .SH AUTHOR |
71 | Werner Almesberger (almesber@nessie.cs.id.ethz.ch) | |
86d62711 | 72 | .SH AVAILABILITY |
601d12fb KZ |
73 | The fdformat command is part of the util-linux package and is available from |
74 | ftp://ftp.kernel.org/pub/linux/utils/util-linux/. |