Module disk::gpt

source ·
Expand description

Functions for writing GUID Partition Tables for use in a composite disk image.

Structs§

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§