summaryrefslogtreecommitdiff
path: root/man/systemd-fstab-generator.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-05-02 16:42:50 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2022-05-02 20:49:16 +0100
commitba4b74cbc7bceed60dbf8b8ff992371e949c80fd (patch)
tree26122b097e97a10b7140f8cf3ebb78f034531f07 /man/systemd-fstab-generator.xml
parent3ca0b105eb93b5dde61c48dbc8fdeb58dc2e6fa6 (diff)
downloadsystemd-ba4b74cbc7bceed60dbf8b8ff992371e949c80fd.tar.gz
man: document that systemd-fstab-generator actually cares about roothash=/usrhash= on the kernel cmdline
It doesn't really care about the hash value passed (which is processed by systemd-veritysetup-generator), but it does care about the fact that it is set (and mounts the DM nodes /dev/mapper/usr + /dev/mapper/root in that case).
Diffstat (limited to 'man/systemd-fstab-generator.xml')
-rw-r--r--man/systemd-fstab-generator.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/systemd-fstab-generator.xml b/man/systemd-fstab-generator.xml
index 3c5a5cc50a..21fa85da7d 100644
--- a/man/systemd-fstab-generator.xml
+++ b/man/systemd-fstab-generator.xml
@@ -172,6 +172,18 @@
</varlistentry>
<varlistentry>
+ <term><varname>roothash=</varname></term>
+ <term><varname>usrhash=</varname></term>
+
+ <listitem><para>These options are primarily read by
+ <citerefentry><refentrytitle>systemd-veritysetup-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>. When
+ set this indicates that the root file system (or <filename>/usr/</filename>) shall be mounted from
+ Verity volumes with the specified hashes. If these kernel command line options are set the root (or
+ <filename>/usr/</filename>) file system is thus mounted from a device mapper volume
+ <filename>/dev/mapper/root</filename> (or <filename>/dev/mapper/usr</filename>).</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>systemd.volatile=</varname></term>
<listitem><para>Controls whether the system shall boot up in volatile mode. Takes a boolean argument or the