1 .\" $NetBSD: fdformat.1,v 1.16 2006/07/22 08:36:14 wiz Exp $
3 .\" Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" This code is derived from software contributed to The NetBSD Foundation
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
35 .Nd format a floppy diskette
58 .Op Fl P Ar stepspercyl
70 .Op Fl I Ar interleave
75 utility formats a floppy diskette.
76 With no arguments, it formats the default floppy device with the default
77 density parameters (as provided by the floppy diskette device driver).
79 As the each track of the floppy diskette is formatted, it is read to
80 verify the format was successful.
84 utility does not create a filesystem of any kind.
90 (part of the pkgsrc/sysutils/mtools package) depending on what filesystem
91 type you want to use on the floppy disk to do so.
93 Available command-line flags are:
94 .Bl -tag -width indent -compact
96 Format the floppy using
98 instead of the default
101 Format the floppy using parameters for the diskette named
105 instead of the device default parameters.
107 Do not verify each track as it is read.
109 Set the number of bytes per sector for the formatted diskette.
111 Set the number of sectors per track for the formatted diskette.
113 Set the number of tracks (heads) per cylinder for the formatted diskette.
115 Set the number of cylinders for the formatted diskette.
116 .It Fl P Ar stepspercyl
117 Set the number of motor steps per cylinder for the formatted diskette.
119 Set the sector gap length for the formatted diskette.
121 Set the fill byte for the formatted diskette.
122 .It Fl X Ar xfer_rate
123 Set the bit transfer rate for the formatted diskette.
124 .It Fl I Ar interleave
125 Set the interleave factor for the formatted diskette.
129 (amiga, i386 and sparc ports)
136 Some floppy drive units have physical
137 diskette format sensors which automatically select a diskette
139 Such drives can format at alternate densities, but
140 they cannot successfully verify the formatted diskette except at the
141 diskette's normal density.