liblp.reader
Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
Read and validate metadata information from a block device that holds logical partitions. |
|
|
Read and validate geometry information from a block device that holds logical partitions. |
|
|
|
|
|
|
- liblp.reader.AdjustMetadataForSlot(metadata: LpMetadata, slot_number: int)
- liblp.reader.GetBlockDevicePartitionName(block_device: LpMetadataBlockDevice) str
- liblp.reader.GetPartitionGroupName(group: LpMetadataPartitionGroup) str
- liblp.reader.GetPartitionName(partition: LpMetadataPartition) str
- liblp.reader.ParseMetadata(geometry: LpMetadataGeometry, fd: BufferedIOBase) LpMetadata
Read and validate metadata information from a block device that holds logical partitions. If the information is corrupted, this will attempt to read it from a secondary backup location.
- liblp.reader.ReadBackupGeometry(fd: BufferedIOBase) LpMetadataGeometry
- liblp.reader.ReadBackupMetadata(fd: BufferedIOBase, geometry: LpMetadataGeometry, slot_number: int)
- liblp.reader.ReadLogicalPartitionGeometry(fd: BufferedIOBase) LpMetadataGeometry
Read and validate geometry information from a block device that holds logical partitions. If the information is corrupted, this will attempt to read it from a secondary backup location.
- liblp.reader.ReadMetadata(super_partition: str, slot_number: int, opener: IPartitionOpener = None) LpMetadata
- liblp.reader.ReadMetadataHeader(fd: BufferedIOBase) LpMetadataHeader
- liblp.reader.ReadPrimaryGeometry(fd: BufferedIOBase) LpMetadataGeometry
- liblp.reader.ReadPrimaryMetadata(fd: BufferedIOBase, geometry: LpMetadataGeometry, slot_number: int)
- liblp.reader.ValidateTableBounds(header: LpMetadataHeader, table: LpMetadataTableDescriptor)