]> git.ipfire.org Git - thirdparty/systemd.git/commit
veritysetup: add support for hash-offset option
authorGaël PORTAY <gael.portay@collabora.com>
Fri, 25 Dec 2020 08:08:05 +0000 (03:08 -0500)
committerGaël PORTAY <gael.portay@rtone.fr>
Thu, 13 Apr 2023 03:15:17 +0000 (05:15 +0200)
commit14de7ef914167ed08af6c0fb283e91f25e68b60f
treec6ea8f367406e99bea75e23509f876fee2eb3f98
parent9c669abb7106ae340ea47e7747d3bd054fbacdc5
veritysetup: add support for hash-offset option

The verity parameter hash_area_offset allows to locate the superblock in
the hash device. It can be used to have a single device which contains
both data and hashes.

This adds the option hash-offset=BYTES (sixth argument) which is the
equivalent of the option --hash-offset in the veritysetup world.

See `veritysetup(8)` for more details.
man/systemd-veritysetup-generator.xml
man/veritytab.xml
src/veritysetup/veritysetup.c