summaryrefslogtreecommitdiffstats
path: root/disk-utils
diff options
context:
space:
mode:
authorKarel Zak2018-09-12 12:26:06 +0200
committerKarel Zak2018-09-12 12:26:06 +0200
commitaef79c1f8e721433a534ff489e367f378c52bc0f (patch)
tree5547a1e908da0112688d4177eb8ee44c4b7159fa /disk-utils
parentMerge branch 'more' of https://github.com/kerolasa/util-linux (diff)
downloadkernel-qcow2-util-linux-aef79c1f8e721433a534ff489e367f378c52bc0f.tar.gz
kernel-qcow2-util-linux-aef79c1f8e721433a534ff489e367f378c52bc0f.tar.xz
kernel-qcow2-util-linux-aef79c1f8e721433a534ff489e367f378c52bc0f.zip
sfdisk: document script GPT headers
Add first-lba, last-lba and table-length to the sfdisk man page. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils')
-rw-r--r--disk-utils/sfdisk.89
1 files changed, 9 insertions, 0 deletions
diff --git a/disk-utils/sfdisk.8 b/disk-utils/sfdisk.8
index 8f614b946..4ea7cf363 100644
--- a/disk-utils/sfdisk.8
+++ b/disk-utils/sfdisk.8
@@ -313,6 +313,15 @@ Specify the partition table type. For example \fBdos\fR or \fBgpt\fR.
.B label-id
Specify the partition table identifier. It should be a hexadecimal number
(with a 0x prefix) for MBR and a UUID for GPT.
+.TP
+.B first-lba
+Specify the first usable sector for GPT partitions.
+.TP
+.B last-lba
+Specify the last usable sector for GPT partitions.
+.TP
+.B table-length
+Specify the maximal number of GPT partitions.
.RE
.sp
Note that it is only possible to use header lines before the first partition