]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document that systemd-fstab-generator actually cares about roothash=/usrhash...
authorLennart Poettering <lennart@poettering.net>
Mon, 2 May 2022 14:42:50 +0000 (16:42 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 2 May 2022 19:49:16 +0000 (20:49 +0100)
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).

man/systemd-fstab-generator.xml

index 3c5a5cc50a3d18324c10b83a69a7f0d22b0533ca..21fa85da7d847af2d22a6ee2947bd22464c4a6f1 100644 (file)
         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>