VERITYSETUP(8) (NAME) veritysetup - dm-verity (SYNOPSIS) veritysetup <> [<>] < > (DESCRIPTION) veritysetup dm-verity . dm-verity (device-mapper) . dm-verity veritysetup . . (Merkle tree) . verity veritytab(5) systemd(1) . (BASIC ACTIONS) veritysetup : (FORMAT) format . --hash-offset . (root hash) . . (file image) . . <> [--hash, --no-superblock, --format, --data-block-size, --hash-block-size, --data-blocks, --hash-offset, --salt, --uuid, --root-hash-file] . --root-hash-file . (OPEN) open open --root-hash-file create ( ) . . <> [--hash-offset, --no-superblock, --ignore-corruption or --restart-on-corruption, --panic-on-corruption, --ignore-zero-blocks, --check-at-most-once, --root-hash-signature, --root-hash-file, --use-tasklets, --shared] . --root-hash-file . . --no-superblock . (VERIFY) verify verify --root-hash-file data_device hash_device . (userspace) . . --root-hash-file . . <> [--hash-offset, --no-superblock, --root-hash-file] . --no-superblock . (CLOSE) close remove ( ) . <> [--deferred] [--cancel-deferred] . (STATUS) status verity . (DUMP) dump verity . <> [--hash-offset] . (OPTIONS) --batch-mode, -q ( ). --cancel-deferred close . --check-at-most-once . : (). --data-blocks blocks ( ). . --data-block-size bytes ( ). . --debug . # . --deferred close . --error-as-corruption / (I/O) . --restart-on-corruption --panic-on-corruption . --fec-device device (Forward Error Correction FEC) . . FEC . format FEC . . (data_device) verity fec_device . FEC ( ) . FEC . . FEC FEC . --fec-offset bytes ( ) FEC . --fec-roots number (generator roots). . RS(M, N) M-N . M M-N ( ) . --format number . Chrome OS . . --hash hash dm-verity. --help . --hash-block-size bytes ( ). . --hash-offset bytes / hash_device ( ). . --help, -? . --ignore-corruption, --restart-on-corruption, --panic-on-corruption ( ) . / I/O . --ignore-corruption . --restart-on-corruption --panic-on-corruption ( / panic ). ( .) . --ignore-zero-blocks . . --no-superblock dm-verity . --root-hash-file file* . --root-hash-signature file* ( ). . . --salt=hex string (salt) . . --shared . verity . --usage . --use-tasklets tasklet dm-verity . . . --uuid UUID UUID format . UUID UUID 12345678-1234-1234-1234-123456789abc. --verbose, -v . --version, -V . (RETURN CODES) veritysetup 0 . : 1 2 3 4 5 . (EXAMPLES) veritysetup --data-blocks=256 format hash_device ( ) . hash_device ( ). veritysetup format --root-hash-file hash_device data_device . veritysetup --data-blocks=256 --hash-offset=1052672 format () ( hash-offset). . veritysetup --data-blocks=256 --hash-offset=1052672 create test-device verity test-device . --data-blocks --hash-offset format . format . veritysetup --data-blocks=256 --hash-offset=1052672 verify ( ). veritysetup --data-blocks=256 --hash-offset=1052672 --root-hash-file verify ( ). . veritysetup --fec-device= --fec-roots=10 format data_device . DM-VERITY (DM-VERITY ON-DISK SPECIFICATION) DMVerity . (AUTHORS) veritysetup Chrome OS . Mikulas Patocka Milan Broz . libcryptsetup . (REPORTING BUGS) cryptsetup . . --debug . (SEE ALSO) Cryptsetup cryptsetup(8), integritysetup(8) veritysetup(8) CRYPTSETUP cryptsetup . veritysetup 2.8.7 2026-07-21 VERITYSETUP(8)