diff options
author | Brian C. Lane <bcl@redhat.com> | 2013-09-11 12:25:04 -0700 |
---|---|---|
committer | Phillip Susi <psusi@ubuntu.com> | 2014-03-02 19:16:40 -0500 |
commit | 6a5b3b5727845af0c5cef35dee3d8e8c69262fdc (patch) | |
tree | 1fa0eb10887413deb5fc3511e449a052f494f848 /doc | |
parent | 4d0cd271069997e7d44ed3b52426ccf2570048c8 (diff) | |
download | parted-6a5b3b5727845af0c5cef35dee3d8e8c69262fdc.tar.gz |
libparted: Add UEFI System Partition flag.
This adds support for the ESP partition type on MS-DOS. It also aliases
it to the boot flag on GPT which sets the ESP GUID type.
* NEWS (New Features): Mention it.
* doc/C/parted.8: Document esp flag.
* doc/parted.texti: Document esp flag.
* include/parted/disk.in.h (_PedPartitionFlag): Add PED_PARTITION_ESP flag
* libparted/disk.c (ped_partition_flag_get_name): Add esp flag
* libparted/labels/dos.c (DosPartitionData): Likewise
(raw_part_parse): Likewise
(msdos_partition_new): Likewise
(msdos_partition_duplicate): Likewise
(msdos_partition_set_system): Likewise
(clear_flags): Likewise
(msdos_partition_set_flag): Likewise
(msdos_partition_get_flag): Likewise
(msdos_partition_is_flag_available): Likewise
* libparted/labels/gpt.c (gpt_partition_set_flag): Add PED_PARTITION_ESP
(gpt_partition_get_flag): Likewise
(gpt_partition_is_flag_available): Likewise
Diffstat (limited to 'doc')
-rw-r--r-- | doc/C/parted.8 | 2 | ||||
-rw-r--r-- | doc/parted.texi | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/C/parted.8 b/doc/C/parted.8 index 2f8e9f5..f8e6a3d 100644 --- a/doc/C/parted.8 +++ b/doc/C/parted.8 @@ -104,7 +104,7 @@ or an LVM logical volume if necessary. .B set \fIpartition\fP \fIflag\fP \fIstate\fP Change the state of the \fIflag\fP on \fIpartition\fP to \fIstate\fP. Supported flags are: "boot", "root", "swap", "hidden", "raid", "lvm", "lba", -"legacy_boot", "irst" and "palo". +"legacy_boot", "irst", "esp" and "palo". \fIstate\fP should be either "on" or "off". .TP .B unit \fIunit\fP diff --git a/doc/parted.texi b/doc/parted.texi index 4c63fe3..9e00808 100644 --- a/doc/parted.texi +++ b/doc/parted.texi @@ -840,6 +840,10 @@ filesystems). (MS-DOS, GPT) - this flag identifies an Intel Rapid Start Technology partition. +@item esp +(MS-DOS, GPT) - this flag identifies a UEFI System Partition. On GPT +it is an alias for boot. + @item lba (MS-DOS) - this flag can be enabled to tell MS DOS, MS Windows 9x and MS Windows ME based operating systems to use Linear (LBA) mode. |