[−][src]Module gpt::mbr
MBR-related types and helper functions.
This module provides access to low-level primitives to work with Master Boot Record (MBR), also known as LBA0.
Structs
PartRecord | A partition record, MBR-style. |
ProtectiveMBR | Protective MBR, as defined by GPT. |
Functions
read_bootcode | Return the 440 bytes of BIOS bootcode. |
read_disk_signature | Read the 4 bytes of MBR disk signature. |
write_bootcode | Write the 440 bytes of BIOS bootcode. |
write_disk_signature | Write the 4 bytes of MBR disk signature. |