diff options
author | Michael Marineau | 2015-05-03 00:52:48 +0200 |
---|---|---|
committer | Karel Zak | 2015-05-05 12:39:36 +0200 |
commit | 4a4a0927c6b761f7b8b29b00491b22b3553720e8 (patch) | |
tree | 91dc14b26e6650b10dbb94af2535354724b3736c /libfdisk/docs | |
parent | libfdisk: (gpt) fix check for beginning of protective partition (diff) | |
download | kernel-qcow2-util-linux-4a4a0927c6b761f7b8b29b00491b22b3553720e8.tar.gz kernel-qcow2-util-linux-4a4a0927c6b761f7b8b29b00491b22b3553720e8.tar.xz kernel-qcow2-util-linux-4a4a0927c6b761f7b8b29b00491b22b3553720e8.zip |
libfdisk: (gpt) add API for raw partition attributes
The existing APIs can only toggle individual bits or get and set bits in
a complex text representation, making it impractical to use libfdisk for
manipulating the GPT partition attribute field in more complex ways such
as updating a value that is multiple bits wide. For example priority
based partition selection originally designed for ChromeOS includes two
integer values that are 4-bits wide.
http://www.chromium.org/chromium-os/chromiumos-design-docs/disk-format#TOC-Trusting-the-GPT
[kzak@redhat.com: - add new symbols to .sym file and docs
- remove unused variables from test program]
Signed-off-by: Michael Marineau <michael.marineau@coreos.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/docs')
-rw-r--r-- | libfdisk/docs/libfdisk-sections.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libfdisk/docs/libfdisk-sections.txt b/libfdisk/docs/libfdisk-sections.txt index acee8f855..02b775ea6 100644 --- a/libfdisk/docs/libfdisk-sections.txt +++ b/libfdisk/docs/libfdisk-sections.txt @@ -223,6 +223,8 @@ fdisk_sgi_set_bootfile <SECTION> <FILE>gpt</FILE> fdisk_gpt_is_hybrid +fdisk_gpt_get_partition_attrs +fdisk_gpt_set_partition_attrs GPT_FLAG_REQUIRED GPT_FLAG_NOBLOCK GPT_FLAG_LEGACYBOOT |