]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
sfdiks: (man) fix example
authorKarel Zak <kzak@redhat.com>
Mon, 20 Jun 2022 11:42:35 +0000 (13:42 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 20 Jun 2022 11:42:35 +0000 (13:42 +0200)
Fixes: https://github.com/util-linux/util-linux/discussions/1719
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/sfdisk.8.adoc

index 8ddcf320cb74f8ce3d1db7594c11821d6d28707a..7f0a37e770747d5650074a4562cb9dc30e800ee5 100644 (file)
@@ -420,7 +420,7 @@ Since version 2.26 *sfdisk* does not provide the *--DOS*, *--IBM*, *--DOS-extend
 *sfdisk --list --label-nested=mbr /dev/sda*::
 Print protective MBR on device with GPT disk label.
 
-*echo -e ',10M,L\n,10M,L\n,,+\n' | sfdisk /dev/sdc*::
+*echo -e ',10M,L\n,10M,L\n,+,\n' | sfdisk /dev/sdc*::
 Create three Linux partitions, with the default start, the size of the first two partitions is 10MiB, and the last partition fills all available space on the device.
 
 *echo -e 'size=10M, type=L\n size=10M, type=L\n size=+\n' | sfdisk /dev/sdc*::