On Mon, Aug 05, 2013 at 10:21:09PM -0700, Davidlohr Bueso wrote: > > +typedef struct _gpt_record { > + u8 boot_indicator; /* unused by EFI, set to 0x80 for bootable */ > + u8 start_head; /* unused by EFI, pt start in CHS */ > + u8 start_sector; /* unused by EFI, pt start in CHS */ > + u8 start_track; > + u8 os_type; /* EFI and legacy non-EFI OS types */ > + u8 end_head; /* unused by EFI, pt end in CHS */ > + u8 end_sector; /* unused by EFI, pt end in CHS */ > + u8 end_track; /* unused by EFI, pt end in CHS */ > + __le32 starting_lba; /* used by EFI - start addr of the on disk > pt */ > + __le32 size_in_lba; /* used by EFI - size of pt in LBA */ > +} __attribute__ ((packed)) gpt_record; > +
Maybe it would be better to rename this struct to "gpt_mbr_record" to make it more obvious. Karel -- Karel Zak <k...@redhat.com> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/