]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Document that gpt-auto-generator supports decrypting rootfs
authorArian van Putten <arian.vanputten@gmail.com>
Wed, 12 Jun 2019 17:18:04 +0000 (19:18 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 13 Jun 2019 12:36:34 +0000 (14:36 +0200)
When systemd is running in initrd, we actually support decrypting a LUKS rootfs.

Fixes #12786

man/systemd-gpt-auto-generator.xml

index d94d6ac715317888b3c44c6583c1a5a6fc33bfba..22cd638f1f81fe9f8e4ab8198b8c276cec6d58b8 100644 (file)
     <filename>/dev/mapper/home</filename> and <filename>/dev/mapper/srv</filename>. Note that this might
     create conflicts if the same partition is listed in <filename>/etc/crypttab</filename> with a different
     device mapper device name.</para>
+    
+    <para>When systemd is running in the initrd the <filename>/</filename> partition may be encrypted in LUKS
+      format as well. In this case, a device mapper device is set up under the name <filename>/dev/mapper/root</filename>,
+      and a <filename>sysroot.mount</filename> is set up that mounts the device under <filename>/sysroot</filename>.
+      For more information, see <citerefentry><refentrytitle>bootup</refentrytitle><manvolnum>7</manvolnum></citerefentry>.
+    </para>
 
     <para>Mount and automount units for the EFI System Partition (ESP) are generated on EFI systems. The ESP
     is mounted to <filename>/boot/</filename> (except if an Extended Boot Loader partition exists, see