mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 11:14:39 +00:00
[spec] Update deduplication table descriptions for clarity and accuracy
This commit is contained in:
@@ -57,13 +57,18 @@ It starts with the following header.
|
||||
|
||||
|uint8_t
|
||||
|1 byte
|
||||
|alignment
|
||||
|Shift of alignment of all blocks in the image. This must be the same in all deduplication tables and subtables.
|
||||
|blockAlignmentShift
|
||||
|Determines block alignment boundaries using the formula 2 << blockAlignmentShift.
|
||||
|
||||
|uint8_t
|
||||
|1 byte
|
||||
|shift
|
||||
|The shift used to calculate the position of a sector in a data block pointed by this table, or how many sectors are pointed by the next level.
|
||||
|dataShift
|
||||
|Determines the maximum number of data items in a block using the formula 2 << dataShift.
|
||||
|
||||
|uint8_t
|
||||
|1 byte
|
||||
|tableShift
|
||||
|Shift used to calculate the number of sectors in a deduplication table entry, using the formula 2 << tableShift.
|
||||
|
||||
|uint8_t
|
||||
|1 byte
|
||||
|
||||
@@ -71,6 +71,8 @@ A bump indicates potential breaking changes.
|
||||
|
||||
Length is defined by `GUID_SIZE`.
|
||||
| blockAlignmentShift | uint8_t | Determines block alignment boundaries using the formula 2 << blockAlignmentShift.
|
||||
| dataShift | uint8_t | Determines the maximum number of data items in a block using the formula 2 << dataShift.
|
||||
| tableShift | uint8_t | Shift used to calculate the number of sectors in a deduplication table entry, using the formula 2 << tableShift.
|
||||
| featureCompatible | uint64_t | Bitmask of features that, even if not implemented, still allow reading and writing the image.
|
||||
|
||||
| featureCompatibleRo | uint64_t | Bitmask of features that allow read-only processing of the image if unsupported.
|
||||
|
||||
Reference in New Issue
Block a user