Module disk::composite

source ยท

Structsยง

  • ComponentDiskPart ๐Ÿ”’
  • Represents a composite virtual disk made out of multiple component files. This is described on disk by a protocol buffer file that lists out the component file locations and their offsets and lengths on the virtual disk. The spaces covered by the component disks must be contiguous and not overlapping.
  • Information about a partition to create.

Enumsยง

Constantsยง

Functionsยง

  • Create one or more ComponentDisk proto messages for the given partition.
  • Create a new composite disk image containing the given partitions, and write it out to the given files.
  • create_gpt_entry ๐Ÿ”’
    Create the GptPartitionEntry for the given partition.
  • Create a zero filler file which can be used to fill the gaps between partition files. The filler is sized to be big enough to fill the gaps. (1 << PARTITION_SIZE_SHIFT)
  • range_intersection ๐Ÿ”’
  • ranges_overlap ๐Ÿ”’
  • write_beginning ๐Ÿ”’
    Write protective MBR and primary GPT table.
  • write_end ๐Ÿ”’
    Write secondary GPT table.

Type Aliasesยง