diff options
author | Brian C. Lane <bcl@redhat.com> | 2012-02-01 13:12:00 -0800 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-02-02 16:04:00 +0100 |
commit | c56edfb7b98593282dc1db1c3912616a470257b2 (patch) | |
tree | 07ab5e90e024a2e6bd3058b8661c4c3a3808ea71 /doc | |
parent | 103ef008a504a2397ce1c91f5f1b75f6d3abdf85 (diff) | |
download | parted-c56edfb7b98593282dc1db1c3912616a470257b2.tar.gz |
doc: update parted documentation
* doc/parted.text: Add disk_set command.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/parted.texi | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/parted.texi b/doc/parted.texi index e866b44..6561d0e 100644 --- a/doc/parted.texi +++ b/doc/parted.texi @@ -415,6 +415,7 @@ GNU Parted provides the following commands: @menu * align-check:: +* disk_set:: * help:: * mklabel:: * mkpart:: @@ -458,6 +459,36 @@ Example: @end deffn +@node disk_set +@subsection disk_set +@cindex disk_set, command description +@cindex command description, disk_set + +@deffn Command disk_set @var{flag} @var{state} + +Changes a flag on the disk. A flag can be either ``on'' or ``off''. +Some or all of these flags will be available, depending on what disk +label you are using: + +@table @samp + +@item pmbr_boot +(GPT) - this flag enables the boot flag on the GPT's protective MBR +partition. + +@end table + +The disk's flags are displayed by the print command on the "Disk Flags:" +line. They are also output as the last field of the disk information +in machine mode. + +@example +(parted) @kbd{disk_set pmbr_boot on} +@end example + +Set the PMBR's boot flag. +@end deffn + @node help @subsection help @cindex help, command description |