veritysetup --version (return code: 0)
veritysetup 1.6.6
veritysetup --help (return code: 0)
veritysetup 1.6.6
Usage: veritysetup [OPTION...] <action> <action-specific>
--version Print package version
-v, --verbose Shows more detailed error messages
--debug Show debug messages
--no-superblock Do not use verity superblock
--format=number Format type (1 - normal, 0 - original Chrome
OS)
--data-block-size=bytes Block size on the data device
--hash-block-size=bytes Block size on the hash device
--data-blocks=blocks The number of blocks in the data file
--hash-offset=bytes Starting offset on the hash device
-h, --hash=string Hash algorithm
-s, --salt=hex string Salt
--uuid=STRING UUID for device to use.
Help options:
-?, --help Show this help message
--usage Display brief usage
<action> is one of:
format <data_device> <hash_device> - format device
verify <data_device> <hash_device> <root_hash> - verify device
create <name> <data_device> <hash_device> <root_hash> - create active device
remove <name> - remove (deactivate) device
status <name> - show active device status
dump <hash_device> - show on-disk information
<name> is the device to create under /dev/mapper
<data_device> is the data device
<hash_device> is the device containing verification data
<root_hash> hash of the root node on <hash_device>
Default compiled-in dm-verity parameters:
Hash: sha256, Data block (bytes): 4096, Hash block (bytes): 4096, Salt size: 32, Hash format: 1