From 4a4a0927c6b761f7b8b29b00491b22b3553720e8 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Sat, 2 May 2015 15:52:48 -0700 Subject: 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 Signed-off-by: Karel Zak --- libfdisk/docs/libfdisk-sections.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libfdisk/docs') 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
gpt fdisk_gpt_is_hybrid +fdisk_gpt_get_partition_attrs +fdisk_gpt_set_partition_attrs GPT_FLAG_REQUIRED GPT_FLAG_NOBLOCK GPT_FLAG_LEGACYBOOT -- cgit v1.2.3-55-g7522