]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - disk-utils/fdisk.8
Place SEE ALSO entries in order
[thirdparty/util-linux.git] / disk-utils / fdisk.8
index f0c6def45de930fa54248106e34173cf9e55851c..cdb3168238e5325dfeb25687425237a6ae4957f9 100644 (file)
@@ -3,7 +3,7 @@
 .\" Copyright 2012 Davidlohr Bueso <dave@gnu.org>
 .\" Copyright (C) 2013 Karel Zak <kzak@redhat.com>
 .\" May be distributed under the GNU General Public License
-.TH FDISK 8 "September 2013" "util-linux" "System Administration"
+.TH FDISK 8 "February 2016" "util-linux" "System Administration"
 
 .SH NAME
 fdisk \- manipulate disk partition table
@@ -54,10 +54,10 @@ between logical and physical sector size.  This option changes both sector sizes
 .IB sectorsize .
 .TP
 \fB\-B\fR, \fB\-\-protect\-boot\fP
-Don't erase the begin of the first disk sector when create a new disk label. This
+Don't erase the begin of the first disk sector when create a new disk label.  This
 feature is supported for GPT and MBR.
 .TP
-\fB\-c\fR, \fB\-\-compatibility\fR[\fI=mode\fR]
+\fB\-c\fR, \fB\-\-compatibility\fR[=\fImode\fR]
 Specify the compatibility mode, 'dos' or 'nondos'.  The default is non-DOS
 mode.  For backward compatibility, it is possible to use the option without
 the \fImode\fR argument -- then the default is used.  Note that the optional
@@ -67,11 +67,11 @@ the correct form is for example '-c=dos'.
 \fB\-h\fR, \fB\-\-help\fR
 Display a help text and exit.
 .TP
-\fB\-L\fR, \fB\-\-color\fR[\fI=when\fR]
+\fB\-L\fR, \fB\-\-color\fR[=\fIwhen\fR]
 Colorize the output.  The optional argument \fIwhen\fP
 can be \fBauto\fR, \fBnever\fR or \fBalways\fR.  If the \fIwhen\fR argument is omitted,
-it defaults to \fBauto\fR.  The colors can be disabled, for the current built-in default 
-see \fB\-\-help\fR output. See also the COLORS section.
+it defaults to \fBauto\fR.  The colors can be disabled; for the current built-in default
+see the \fB\-\-help\fR output.  See also the \fBCOLORS\fR section.
 .TP
 \fB\-l\fR, \fB\-\-list\fR
 List the partition tables for the specified devices and then exit.
@@ -96,7 +96,7 @@ in favour of
 Enable support only for disklabels of the specified \fItype\fP, and disable
 support for all other types.
 .TP
-\fB\-u\fR, \fB\-\-units\fR[\fI=unit\fR]
+\fB\-u\fR, \fB\-\-units\fR[=\fIunit\fR]
 When listing partition tables, show sizes in 'sectors' or in 'cylinders'.  The
 default is to show sizes in sectors.  For backward compatibility, it is possible
 to use the option without the \fIunit\fR argument -- then the default is used.
@@ -119,12 +119,25 @@ Specify the number of sectors per track of the disk.
 partition tables.) A reasonable value is 63.
 
 .TP
-\fB\-w\fR, \fB\-\-wipe\fR \fImode\fR
-Wipe filesystems, RAIDs and partition tables signatures from the device, in
-order to avoid possible collisions.  The \fImode\fR can be \fBauto\fR,
-\fBnever\fR or \fBalways\fR.  The default is \fBauto\fR, in this case signatures
-are wiped in the interactive mode only, in all cases detected signatures are
-reported by warning message before a new partition table is created. See also
+\fB\-w\fR, \fB\-\-wipe\fR \fIwhen\fR
+Wipe filesystem, RAID and partition-table signatures from the device, in order
+to avoid possible collisions.  The argument \fIwhen\fR can be \fBauto\fR,
+\fBnever\fR or \fBalways\fR.  When this option is not given, the default is
+\fBauto\fR, in which case signatures are wiped only when in interactive mode.
+In all cases detected signatures are reported by warning messages
+before a new partition table is created.  See also
+.BR wipefs (8)
+command.
+
+.TP
+\fB\-W\fR, \fB\-\-wipe-partition\fR \fIwhen\fR
+Wipe filesystem, RAID and partition-table signatures from a newly created
+partitions, in order to avoid possible collisions.  The argument \fIwhen\fR can
+be \fBauto\fR, \fBnever\fR or \fBalways\fR.  When this option is not given, the
+default is \fBauto\fR, in which case signatures are wiped only when in
+interactive mode and after confirmation by user.  In all cases detected
+signatures are reported by warning messages before a new partition is
+created.  See also
 .BR wipefs (8)
 command.
 
@@ -341,12 +354,14 @@ enables libfdisk debug output.
 enables libblkid debug output.
 .IP LIBSMARTCOLS_DEBUG=all
 enables libsmartcols debug output.
+.IP LIBSMARTCOLS_DEBUG_PADDING=on
+use visible padding characters. Requires enabled LIBSMARTCOLS_DEBUG.
 
 .SH "SEE ALSO"
 .BR cfdisk (8),
-.BR sfdisk (8),
 .BR mkfs (8),
-.BR partx (8)
+.BR partx (8),
+.BR sfdisk (8)
 
 .SH AVAILABILITY
 The fdisk command is part of the util-linux package and is available from