Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidSignature = errors.New("invalid master boot record signature")
Functions ¶
This section is empty.
Types ¶
type PartitionEntry ¶
type PartitionEntry struct { BootIndicator uint8 StartAddress Address Type uint8 EndAddress Address StartingLBA uint32 NumberOfSectors uint32 }
PartitionEntry corresponds to a partition entry from a MBR.
type Record ¶
type Record struct { BootstrapCode [440]byte UniqueSignature uint32 Partitions [4]PartitionEntry }
Record corresponds to a MBR.
Click to show internal directories.
Click to hide internal directories.