2006-12-06 17:25:32 -06:00
|
|
|
.\" Copyright 1992, 1993 Rickard E. Faith (faith@cs.unc.edu)
|
|
|
|
.\" May be distributed under the GNU General Public License
|
2020-06-27 14:15:10 -05:00
|
|
|
.TH FDFORMAT 8 "June 2020" "util-linux" "System Administration"
|
2006-12-06 17:25:32 -06:00
|
|
|
.SH NAME
|
2011-08-18 15:18:34 -05:00
|
|
|
fdformat \- low-level format a floppy disk
|
2006-12-06 17:25:32 -06:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B fdformat
|
2014-12-14 13:45:29 -06:00
|
|
|
.RI [options] " device"
|
2006-12-06 17:25:32 -06:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.B fdformat
|
2011-08-28 04:14:42 -05:00
|
|
|
does a low-level format on a floppy disk.
|
2006-12-06 17:25:32 -06:00
|
|
|
.I device
|
2011-08-28 04:14:42 -05:00
|
|
|
is usually one of the following (for floppy devices the major = 2, and the
|
2006-12-06 17:25:32 -06:00
|
|
|
minor is shown for informational purposes only):
|
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.RS
|
|
|
|
/dev/fd0d360 (minor = 4)
|
|
|
|
/dev/fd0h1200 (minor = 8)
|
|
|
|
/dev/fd0D360 (minor = 12)
|
|
|
|
/dev/fd0H360 (minor = 12)
|
|
|
|
/dev/fd0D720 (minor = 16)
|
|
|
|
/dev/fd0H720 (minor = 16)
|
|
|
|
/dev/fd0h360 (minor = 20)
|
|
|
|
/dev/fd0h720 (minor = 24)
|
|
|
|
/dev/fd0H1440 (minor = 28)
|
2011-07-11 11:57:39 -05:00
|
|
|
.PP
|
2006-12-06 17:25:32 -06:00
|
|
|
/dev/fd1d360 (minor = 5)
|
|
|
|
/dev/fd1h1200 (minor = 9)
|
|
|
|
/dev/fd1D360 (minor = 13)
|
|
|
|
/dev/fd1H360 (minor = 13)
|
|
|
|
/dev/fd1D720 (minor = 17)
|
|
|
|
/dev/fd1H720 (minor = 17)
|
|
|
|
/dev/fd1h360 (minor = 21)
|
|
|
|
/dev/fd1h720 (minor = 25)
|
|
|
|
/dev/fd1H1440 (minor = 29)
|
|
|
|
.RE
|
|
|
|
.fi
|
2011-07-11 11:57:39 -05:00
|
|
|
.PP
|
2006-12-06 17:25:32 -06:00
|
|
|
The generic floppy devices, /dev/fd0 and /dev/fd1, will fail to work with
|
|
|
|
.B fdformat
|
|
|
|
when a non-standard format is being used, or if the format has not been
|
|
|
|
autodetected earlier. In this case, use
|
|
|
|
.BR setfdprm (8)
|
|
|
|
to load the disk parameters.
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
2014-07-28 13:47:09 -05:00
|
|
|
\fB\-f\fR, \fB\-\-from\fR \fIN\fR
|
|
|
|
Start at the track \fIN\fR (default is 0).
|
|
|
|
.TP
|
|
|
|
\fB\-t\fR, \fB\-\-to\fR \fIN\fR
|
2014-09-08 12:42:10 -05:00
|
|
|
Stop at the track \fIN\fR.
|
2014-07-28 13:47:09 -05:00
|
|
|
.TP
|
|
|
|
\fB\-r\fR, \fB\-\-repair\fR \fIN\fR
|
|
|
|
Try to repair tracks failed during the verification (max \fIN\fR retries).
|
|
|
|
.TP
|
2015-01-19 19:11:52 -06:00
|
|
|
\fB\-n\fR, \fB\-\-no\-verify\fR
|
2011-08-28 04:14:42 -05:00
|
|
|
Skip the verification that is normally performed after the formatting.
|
2011-07-11 11:57:39 -05:00
|
|
|
.TP
|
|
|
|
\fB\-V\fR, \fB\-\-version\fR
|
2013-10-14 14:34:39 -05:00
|
|
|
Display version information and exit.
|
2011-07-11 11:57:39 -05:00
|
|
|
.TP
|
|
|
|
\fB\-h\fR, \fB\-\-help\fR
|
2013-10-14 14:34:39 -05:00
|
|
|
Display help text and exit.
|
2020-06-27 14:15:10 -05:00
|
|
|
.SH NOTES
|
|
|
|
This utility does not handle USB floppy disk drives. Use
|
|
|
|
.BR ufiformat (8)
|
|
|
|
instead.
|
2020-05-21 02:28:21 -05:00
|
|
|
.SH AUTHORS
|
|
|
|
Werner Almesberger (almesber@nessie.cs.id.ethz.ch)
|
2020-05-19 03:31:19 -05:00
|
|
|
.SH SEE ALSO
|
2006-12-06 17:25:32 -06:00
|
|
|
.BR fd (4),
|
2016-11-10 04:59:27 -06:00
|
|
|
.BR emkfs (8),
|
2006-12-06 17:25:32 -06:00
|
|
|
.BR mkfs (8),
|
2020-06-27 14:15:10 -05:00
|
|
|
.BR setfdprm (8),
|
|
|
|
.BR ufiformat (8)
|
2007-07-02 18:17:04 -05:00
|
|
|
.SH AVAILABILITY
|
2010-11-30 04:41:59 -06:00
|
|
|
The fdformat command is part of the util-linux package and is available from
|
2016-12-17 02:06:57 -06:00
|
|
|
https://www.kernel.org/pub/linux/utils/util-linux/.
|