Upload Tizen:Base source
[framework/base/util-linux-ng.git] / disk-utils / fdformat.8
1 .\" Copyright 1992, 1993 Rickard E. Faith (faith@cs.unc.edu)
2 .\" May be distributed under the GNU General Public License
3 .TH FDFORMAT 8 "1 February 1993" "Linux 0.99" "Linux Programmer's Manual"
4 .SH NAME
5 fdformat \- Low-level formats a floppy disk
6 .SH SYNOPSIS
7 .B fdformat
8 .RB [ \-n ]
9 .I device
10 .SH DESCRIPTION
11 .B fdformat
12 does a low level format on a floppy disk.
13 .I device
14 is usually one of the following (for floppy devices, the major = 2, and the
15 minor is shown for informational purposes only):
16 .sp
17 .nf
18 .RS
19 /dev/fd0d360  (minor = 4)
20 /dev/fd0h1200 (minor = 8)
21 /dev/fd0D360  (minor = 12)
22 /dev/fd0H360  (minor = 12)
23 /dev/fd0D720  (minor = 16)
24 /dev/fd0H720  (minor = 16)
25 /dev/fd0h360  (minor = 20)
26 /dev/fd0h720  (minor = 24)
27 /dev/fd0H1440 (minor = 28)
28
29 /dev/fd1d360  (minor = 5)
30 /dev/fd1h1200 (minor = 9)
31 /dev/fd1D360  (minor = 13)
32 /dev/fd1H360  (minor = 13)
33 /dev/fd1D720  (minor = 17)
34 /dev/fd1H720  (minor = 17)
35 /dev/fd1h360  (minor = 21)
36 /dev/fd1h720  (minor = 25)
37 /dev/fd1H1440 (minor = 29)
38 .RE
39 .fi
40
41 The generic floppy devices, /dev/fd0 and /dev/fd1, will fail to work with
42 .B fdformat
43 when a non-standard format is being used, or if the format has not been
44 autodetected earlier.  In this case, use
45 .BR setfdprm (8)
46 to load the disk parameters.
47
48 .SH OPTIONS
49 .TP
50 .B \-n
51 No verify.  This option will disable the verification that is performed
52 after the format.
53 .SH "SEE ALSO"
54 .BR fd (4),
55 .BR setfdprm (8),
56 .BR mkfs (8),
57 .BR emkfs (8)
58 .SH AUTHOR
59 Werner Almesberger (almesber@nessie.cs.id.ethz.ch)
60 .SH AVAILABILITY
61 The fdformat command is part of the util-linux-ng package and is available from
62 ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.