diff options
author | Brian C. Lane <bcl@redhat.com> | 2013-09-11 12:25:03 -0700 |
---|---|---|
committer | Phillip Susi <psusi@ubuntu.com> | 2014-03-02 19:16:39 -0500 |
commit | 4d0cd271069997e7d44ed3b52426ccf2570048c8 (patch) | |
tree | 5eb2f7c8e94adf9d3d23753064b968f9af11e464 /doc | |
parent | 6a3194bf13d23c4e7fcc346f7188060d50f3cedc (diff) | |
download | parted-4d0cd271069997e7d44ed3b52426ccf2570048c8.tar.gz |
libparted: Add Intel Rapid Start Technology partition flag.
This adds support for the irst partition type flag. Sets the type to
0x84 on MS-DOS and D3BFE2DE-3DAF-11DF-BA-40-E3A556D89593 on GPT.
* NEWS (New Features): Mention it.
* doc/C/parted.8: Document irst flag.
* doc/parted.texti: Document irst flag.
* include/parted/disk.in.h (_PedPartitionFlag): Add PED_PARTITION_IRST flag
* libparted/disk.c (ped_partition_flag_get_name): Add irst 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: Add PARTITION_IRST_GUID
(GPTPartitionData): Add irst flag
(_parse_part_entry): Likewise
(gpt_partition_new): Likewise
(gpt_partition_set_system): Likewise
(gpt_partition_set_flag): Likewise
(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 a9f73f5..2f8e9f5 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" and "palo". +"legacy_boot", "irst" 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 25a02c7..4c63fe3 100644 --- a/doc/parted.texi +++ b/doc/parted.texi @@ -836,6 +836,10 @@ used by Windows on GPT disks. Note that this flag should not normally be set on Windows filesystem partitions (those that contain NTFS or FAT filesystems). +@item irst +(MS-DOS, GPT) - this flag identifies an Intel Rapid Start Technology +partition. + @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. |