man-pages/man8/fdformat.8.html
2021-03-31 01:06:50 +01:00

121 lines
3.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of FDFORMAT</TITLE>
</HEAD><BODY>
<H1>FDFORMAT</H1>
Section: System Administration (8)<BR>Updated: July 2014<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
fdformat - low-level format a floppy disk
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>fdformat</B>
[options]<I> device</I>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>fdformat</B>
does a low-level format on a floppy disk.
<I>device</I>
is usually one of the following (for floppy devices the major = 2, and the
minor is shown for informational purposes only):
<P>
<PRE>
<DL COMPACT><DT id="1"><DD>/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)
/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)
</DL>
</PRE>
<P>
The generic floppy devices, /dev/fd0 and /dev/fd1, will fail to work with
<B>fdformat</B>
when a non-standard format is being used, or if the format has not been
autodetected earlier. In this case, use
<B><A HREF="/cgi-bin/man/man2html?8+setfdprm">setfdprm</A></B>(8)
to load the disk parameters.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="2"><B>-f</B>, <B>--from</B> <I>N</I><DD>
Start at the track <I>N</I> (default is 0).
<DT id="3"><B>-t</B>, <B>--to</B> <I>N</I><DD>
Stop at the track <I>N</I>.
<DT id="4"><B>-r</B>, <B>--repair</B> <I>N</I><DD>
Try to repair tracks failed during the verification (max <I>N</I> retries).
<DT id="5"><B>-n</B>, <B>--no-verify</B><DD>
Skip the verification that is normally performed after the formatting.
<DT id="6"><B>-V</B>, <B>--version</B><DD>
Display version information and exit.
<DT id="7"><B>-h</B>, <B>--help</B><DD>
Display help text and exit.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?4+fd">fd</A></B>(4),
<B><A HREF="/cgi-bin/man/man2html?8+emkfs">emkfs</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+mkfs">mkfs</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+setfdprm">setfdprm</A></B>(8)
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
Werner Almesberger (<A HREF="mailto:almesber@nessie.cs.id.ethz.ch">almesber@nessie.cs.id.ethz.ch</A>)
<A NAME="lbAH">&nbsp;</A>
<H2>AVAILABILITY</H2>
The fdformat command is part of the util-linux package and is available from
<A HREF="https://www.kernel.org/pub/linux/utils/util-linux/.">https://www.kernel.org/pub/linux/utils/util-linux/.</A>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="8"><A HREF="#lbAB">NAME</A><DD>
<DT id="9"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="10"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="11"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="12"><A HREF="#lbAF">SEE ALSO</A><DD>
<DT id="13"><A HREF="#lbAG">AUTHOR</A><DD>
<DT id="14"><A HREF="#lbAH">AVAILABILITY</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:12 GMT, March 31, 2021
</BODY>
</HTML>