Struct uefi::proto::media::partition::MbrPartitionRecord [−][src]
#[repr(C)]#[repr(packed)]pub struct MbrPartitionRecord {
pub boot_indicator: u8,
pub starting_chs: [u8; 3],
pub os_type: MbrOsType,
pub ending_chs: [u8; 3],
pub starting_lba: u32,
pub size_in_lba: u32,
}
Expand description
Legacy MBR Partition Record.
Fields
boot_indicator: u8
If 0x80, this is the bootable legacy partition.
starting_chs: [u8; 3]
Start of the partition in CHS address format.
os_type: MbrOsType
Type of partition.
ending_chs: [u8; 3]
End of the partition in CHS address format.
starting_lba: u32
Starting LBA of the partition on the disk.
size_in_lba: u32
Size of the partition in LBA units of logical blocks.
Implementations
True if the partition is a bootable legacy partition.