Expand description
Functions for writing GUID Partition Tables for use in a composite disk image.
Structs§
- A GPT entry for a particular partition.
Enums§
Constants§
- The size in bytes of everything before the first partition: i.e. the MBR, GPT header and GPT partition entries.
- The size in bytes of everything after the last partition: i.e. the GPT partition entries and GPT footer.
- The size in bytes of a GPT header.
- The number of partition entries in the GPT, which is the maximum number of partitions which are supported.
- The size in bytes of a single GPT partition entry.
- The size in bytes on an MBR partition entry.
- The size in bytes of a disk sector (also called a block).
Functions§
- Write a GPT header for the disk.
- Write a UUID in the mixed-endian format which GPT uses for GUIDs.
- Write a protective MBR for a disk of the given total size (in bytes).