]> git.ipfire.org Git - thirdparty/util-linux.git/blame - disk-utils/fdformat.8
cal: Update man page
[thirdparty/util-linux.git] / disk-utils / fdformat.8
CommitLineData
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 5fdformat \- 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 11does a low-level format on a floppy disk.
6dbe3af9 12.I device
449a215f 13is usually one of the following (for floppy devices the major = 2, and the
6dbe3af9
KZ
14minor 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
40The generic floppy devices, /dev/fd0 and /dev/fd1, will fail to work with
41.B fdformat
42when a non-standard format is being used, or if the format has not been
43autodetected earlier. In this case, use
44.BR setfdprm (8)
45to load the disk parameters.
6dbe3af9
KZ
46.SH OPTIONS
47.TP
e0402441
JC
48\fB\-f\fR, \fB\-\-from\fR \fIN\fR
49Start at the track \fIN\fR (default is 0).
50.TP
51\fB\-t\fR, \fB\-\-to\fR \fIN\fR
0cbdf6e2 52Stop at the track \fIN\fR.
e0402441
JC
53.TP
54\fB\-r\fR, \fB\-\-repair\fR \fIN\fR
55Try to repair tracks failed during the verification (max \fIN\fR retries).
56.TP
b06c1ca6 57\fB\-n\fR, \fB\-\-no\-verify\fR
449a215f 58Skip the verification that is normally performed after the formatting.
99ba55ef
SK
59.TP
60\fB\-V\fR, \fB\-\-version\fR
b4362b6f 61Display version information and exit.
99ba55ef
SK
62.TP
63\fB\-h\fR, \fB\-\-help\fR
b4362b6f 64Display 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
71Werner Almesberger (almesber@nessie.cs.id.ethz.ch)
86d62711 72.SH AVAILABILITY
601d12fb 73The fdformat command is part of the util-linux package and is available from
d673b74e 74https://www.kernel.org/pub/linux/utils/util-linux/.