summaryrefslogtreecommitdiffstats
path: root/disk-utils/sfdisk.8
diff options
context:
space:
mode:
authorKarel Zak2014-10-02 15:49:24 +0200
committerKarel Zak2014-10-07 14:55:32 +0200
commitbc9e8547093beb91d2360c62a0ba324a028d229c (patch)
treed15828b18fc327a0ec37bdc26b6e5bc339ae9397 /disk-utils/sfdisk.8
parentlibfdisk: (gpt) parse attr bits (diff)
downloadkernel-qcow2-util-linux-bc9e8547093beb91d2360c62a0ba324a028d229c.tar.gz
kernel-qcow2-util-linux-bc9e8547093beb91d2360c62a0ba324a028d229c.tar.xz
kernel-qcow2-util-linux-bc9e8547093beb91d2360c62a0ba324a028d229c.zip
sfdisk: add --part-attrs
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/sfdisk.8')
-rw-r--r--disk-utils/sfdisk.810
1 files changed, 9 insertions, 1 deletions
diff --git a/disk-utils/sfdisk.8 b/disk-utils/sfdisk.8
index f0eea948c..d2de5101f 100644
--- a/disk-utils/sfdisk.8
+++ b/disk-utils/sfdisk.8
@@ -66,6 +66,13 @@ List geometry of all or specified devices.
List partitions of all or specified devices. This command can be used
together with \fB\-\-verify\fR.
.TP
+.BR \-\-part\-attrs " " \fIdevice\fR " " \fIpartno\fR " "[\fIattrs\fR]
+Change GPT partition attribute bits. If \fIattrs\fR no specified then print the current
+partition setting. The \fIattrs\fR is comma delimited list of bits. The currently
+supported attribute bits are: RequiredPartiton, NoBlockIOProtocol, LegacyBIOSBootable
+and GUID specific bits in range from 48 to 63. For example string
+"RequiredPartiton,50,51" sets three bits.
+.TP
.BR \-\-part\-label " " \fIdevice\fR " " \fIpartno\fR " "[\fIlabel\fR]
Change GPT partition name (label). If \fIlabel\fR no specified then print the current
partition label.
@@ -255,7 +262,8 @@ in bytes and the size is aligned according to device I/O limits.
Mark partition as bootable.
.TP
.B attrs=<string>
-Partition attributes.
+Partition attributes, usually GPT partition attribute bits. See --part-attrs for
+more details about GPT bits string format.
.TP
.B uuid=<string>
GPT partition UUID.