Struct gpt::header::Header
[−]
[src]
pub struct Header { pub signature: String, pub revision: u32, pub header_size_le: u32, pub crc32: u32, pub reserved: u32, pub current_lba: u64, pub backup_lba: u64, pub first_usable: u64, pub last_usable: u64, pub disk_guid: Uuid, pub part_start: u64, pub num_parts: u32, pub part_size: u32, pub crc32_parts: u32, }
Fields
signature: String
EFI PART
revision: u32
00 00 01 00
header_size_le: u32
little endian
crc32: u32
CRC32 of the header with crc32 section zeroed
reserved: u32
must be 0
current_lba: u64
For main header, 1
backup_lba: u64
LBA for backup header
first_usable: u64
First usable LBA for partitions (primary table last LBA + 1)
last_usable: u64
Last usable LBA (seconary partition table first LBA - 1)
disk_guid: Uuid
UUID of the disk
part_start: u64
Starting LBA of partition entries
num_parts: u32
Number of partition entries
part_size: u32
Size of a partition entry, usually 128
crc32_parts: u32
CRC32 of the partition table