summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorGaël PORTAY <gael.portay@collabora.com>2020-12-25 03:08:05 -0500
committerGaël PORTAY <gael.portay@rtone.fr>2023-04-13 05:15:17 +0200
commit14de7ef914167ed08af6c0fb283e91f25e68b60f (patch)
treec6ea8f367406e99bea75e23509f876fee2eb3f98 /man
parent9c669abb7106ae340ea47e7747d3bd054fbacdc5 (diff)
downloadsystemd-14de7ef914167ed08af6c0fb283e91f25e68b60f.tar.gz
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.
Diffstat (limited to 'man')
-rw-r--r--man/systemd-veritysetup-generator.xml3
-rw-r--r--man/veritytab.xml7
2 files changed, 9 insertions, 1 deletions
diff --git a/man/systemd-veritysetup-generator.xml b/man/systemd-veritysetup-generator.xml
index 37ded91a93..6098895f55 100644
--- a/man/systemd-veritysetup-generator.xml
+++ b/man/systemd-veritysetup-generator.xml
@@ -85,7 +85,8 @@
<term><varname>systemd.verity_root_options=</varname></term>
<listitem><para>Takes a comma-separated list of dm-verity options. Expects the following options
- <option>ignore-corruption</option>, <option>restart-on-corruption</option>, <option>ignore-zero-blocks</option>,
+ <option>hash-offset=<replaceable>BYTES</replaceable></option>, <option>ignore-corruption</option>,
+ <option>restart-on-corruption</option>, <option>ignore-zero-blocks</option>,
<option>check-at-most-once</option>, <option>panic-on-corruption</option> and
<option>root-hash-signature=<replaceable>PATH</replaceable>|base64:<replaceable>HEX</replaceable></option>. See
<citerefentry project='die-net'><refentrytitle>veritysetup</refentrytitle><manvolnum>8</manvolnum></citerefentry> for more
diff --git a/man/veritytab.xml b/man/veritytab.xml
index dc2f11c31e..ec5d0f45a1 100644
--- a/man/veritytab.xml
+++ b/man/veritytab.xml
@@ -61,6 +61,13 @@ This is based on crypttab(5).
<variablelist class='fstab-options'>
<varlistentry>
+ <term><option>hash-offset=<replaceable>BYTES</replaceable></option></term>
+
+ <listitem><para>Offset of hash area/superblock on <literal>hash-device</literal>. (Multiples of 512 bytes.)
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>ignore-corruption</option></term>
<term><option>restart-on-corruption</option></term>
<term><option>panic-on-corruption</option></term>