Module gpt::header

source ·
Expand description

GPT-header object and helper functions.

Structs§

  • Header describing a GPT disk.

Functions§

  • Parses a uuid with first 3 portions in little endian.
  • Read a GPT header from a given path.
  • Read a GPT header from any device capable of reading and seeking.
  • A helper function to create a new header and write it to disk. If the uuid isn’t given a random one will be generated. Use this in conjunction with Partition::write()