/* Structure definitions ext for MBR and GPT partition tables
*/
-
#define MBR_SIGNATURE_MAGIC __cpu_to_le16(0xAA55)
#define MBR_PARTITIONS 4
__u8 last_cyl;
__u32 first_sect_lba;
__u32 blocks_num;
-};
+} __attribute__((packed));
struct MBR {
__u8 pad[446];
__u16 magic;
} __attribute__((packed));
-
-
#define GPT_SIGNATURE_MAGIC __cpu_to_le64(0x5452415020494645ULL)
#define MBR_GPT_PARTITION_TYPE 0xEE