1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-26 08:55:18 +03:00

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).

(cherry picked from commit ba4b74cbc7)
This commit is contained in:
Lennart Poettering 2022-05-02 16:42:50 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent a2a0b93574
commit 7ccaf3a5df

View File

@ -171,6 +171,18 @@
initrd.</para></listitem>
</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>