embdgen.plugins.label.GPT

class embdgen.plugins.label.GPT.PMBRHeader[source]

Bases: BaseRegion

write(out_file: BufferedIOBase)[source]

Writes this region to the current position in out_file

class embdgen.plugins.label.GPT.GPTHeader(name='GPT Header')[source]

Bases: BaseRegion

write(out_file: BufferedIOBase)[source]

Writes this region to the current position in out_file

class embdgen.plugins.label.GPT.GPTPartitionTable(name='GPT Partition Table')[source]

Bases: BaseRegion

backup_table_start: SizeType
gpt_table_relocated: bool
write(out_file: BufferedIOBase) None[source]

Writes this region to the current position in out_file

class embdgen.plugins.label.GPT.GPT[source]

Bases: BaseLabel

GUID Partition Table (GPT) partition type

LABEL_TYPE = 'gpt'
GPT_DISK_ID_OFFSET = 568
pmbr_header: PMBRHeader
gpt_header: GPTHeader
gpt_table: GPTPartitionTable
sgpt_header: GPTHeader
check_for_gpt_relocation() None[source]
prepare() None[source]
create_partition_table(filename: Path) None[source]