]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
sfdisk: (manpage) fix option description inconsistencies
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Tue, 6 Jan 2026 02:42:57 +0000 (21:42 -0500)
committerKarel Zak <kzak@redhat.com>
Wed, 7 Jan 2026 09:42:22 +0000 (10:42 +0100)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
disk-utils/sfdisk.8.adoc

index 7d5db422e6a5bd4d60764c1fb45a7f5d4088851a..781b4cbf1532344325ef4f4a524b4d47b2b4fc79 100644 (file)
@@ -55,10 +55,10 @@ The *sfdisk* prompt is only a hint for users and a displayed partition number do
 
 The commands are mutually exclusive.
 
-[*-N* _partition-number_] __device__::
+[*-N*, *--partno* _partition-number_] __device__::
 The default *sfdisk* command is to read the specification for the desired partitioning of _device_ from standard input, and then create a partition table according to the specification. See below for the description of the input format. If standard input is a terminal, then *sfdisk* starts an interactive session.
 +
-If the option *-N* is specified, then the changes are applied to the partition addressed by _partition-number_. The unspecified fields of the partition are not modified.
+If the option *-N* or *--partno* is specified, then the changes are applied to the partition addressed by _partition-number_. The unspecified fields of the partition are not modified.
 +
 Note that it's possible to address an unused partition with *-N*. For example, an MBR always contains 4 partitions, but the number of used partitions may be smaller. In this case *sfdisk* follows the default values from the partition table and does not use built-in defaults for the unused partition given with *-N*. See also *--append*.
 
@@ -157,6 +157,9 @@ specific entry in the partition table.
 *-b*, *--backup*::
 Back up the current partition table sectors before starting the partitioning. The default backup file name is _~/sfdisk-<device>-<offset>.bak_; to use another name see option *-O*, *--backup-file*. See section *BACKING UP THE PARTITION TABLE* for more details.
 
+*--bytes*::
+Print SIZE in bytes rather than in human readable format.
+
 *--color*[**=**__when__]::
 Colorize the output. The optional argument _when_ can be *auto*, *never* or *always*. If the _when_ argument is omitted, it defaults to *auto*. The colors can be disabled; for the current built-in default see the *--help* output. See also the *COLORS* section.