... | ... | @@ -191,11 +191,11 @@ Note that internal hash algorithm is not written into superblock |
|
|
|
|
|
`integritysetup open /dev/sdb name --integrity sha256`
|
|
|
|
|
|
## Theory of operation
|
|
|
DM-integrity is meant to be setup as part of a authenticated encryption mode for dm-crypt
|
|
|
or as a standalone integrity checking target.
|
|
|
## Integrity failures count
|
|
|
For the standalone mode, device-mapper status line provides count of detected integrity
|
|
|
mismatches (failures). You can check this count with dmsetup status:
|
|
|
|
|
|
TBD
|
|
|
`dmsetup status name`
|
|
|
|
|
|
## Integrity superblock format
|
|
|
The current on-disk dm-integrity specification (size of superblock is always 512 bytes):
|
... | ... | |