Skip to main contentModule volume_record
- VolumeRecord
- Record of a volume in the volume table.
- AUTORESIZE ๐
- Flag that makes UBI grow the volume to fill the device on the first
attach.
- CRC_OFFSET ๐
- Offset of the CRC in a record. The CRC covers the bytes before it.
- FLAGS_OFFSET ๐
- Offset of the flags in a record.
- LAYOUT_VOLUME_ID
- ID of the layout volume, which stores two copies of the volume table.
- MAX_NAME_LEN ๐
- Longest volume name in bytes.
- NAME_LEN_OFFSET ๐
- Offset of the name length in a record.
- NAME_OFFSET ๐
- Offset of the name in a record.
- SKIP_CRC_CHECK ๐
- Flag that makes UBI skip the CRC check of static data.
- check_unique ๐
- Checks that no valid earlier record has the name of
record or, if
record has the autoresize flag, that flag too. - name ๐
- Returns the name of a record.
- records ๐
- Returns the records of a volume table with the ID of their volume.