Add NoBlockIOProtocol and LegacyBIOSBootable flags to the GPT partition Attributes entry. --- libparted/labels/gpt.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/libparted/labels/gpt.c b/libparted/labels/gpt.c index b9ed5c3..0396ad7 100644 --- a/libparted/labels/gpt.c +++ b/libparted/labels/gpt.c @@ -163,12 +163,16 @@ struct __attribute__ ((packed)) _GuidPartitionEntryAttributes_t { #ifdef __GNUC__ /* XXX narrow this down to !TinyCC */ uint64_t RequiredToFunction:1; - uint64_t Reserved:47; + uint64_t NoBlockIOProtocol:1; + uint64_t LegacyBIOSBootable:1; + uint64_t Reserved:45; uint64_t GuidSpecific:16; #else # warning "Using crippled partition entry type" uint32_t RequiredToFunction:1; - uint32_t Reserved:32; + uint32_t NoBlockIOProtocol:1; + uint32_t LegacyBIOSBootable:1; + uint32_t Reserved:30; uint32_t LOST:5; uint32_t GuidSpecific:16; #endif -- 1.7.4 _______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted