From 88ebc588805f13eb95f34f9d976f1b852f799f91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 30 May 2023 11:28:48 +0200 Subject: [PATCH] man/systemd-gpt-auto-generator: mention that swap may be on luks too Fixes #25972. --- man/systemd-gpt-auto-generator.xml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/man/systemd-gpt-auto-generator.xml b/man/systemd-gpt-auto-generator.xml index e176d32d9c..23f1235551 100644 --- a/man/systemd-gpt-auto-generator.xml +++ b/man/systemd-gpt-auto-generator.xml @@ -185,15 +185,16 @@ - The /home/, /srv/, /var/ and - /var/tmp/ partitions may be encrypted in LUKS format. In this case, a device mapper - device is set up under the names /dev/mapper/home, - /dev/mapper/srv, /dev/mapper/var and - /dev/mapper/tmp. Note that this might create conflicts if the same partition is - listed in /etc/crypttab with a different device mapper device name. + The /home/, /srv/, /var/, + /var/tmp/ and swap partitions may be encrypted in LUKS format. In this case, a + device mapper device is set up under the names /dev/mapper/home, + /dev/mapper/srv, /dev/mapper/var, + /dev/mapper/tmp or /dev/mapper/swap. Note that this might + create conflicts if the same partition is listed in /etc/crypttab with a different + device mapper device name. - When systemd is running in the initrd the / partition may be encrypted in LUKS - format as well. In this case, a device mapper device is set up under the name + When systemd is running in the initrd the / partition may be encrypted with + LUKS as well. In this case, a device mapper device is set up under the name /dev/mapper/root, and a sysroot.mount is set up that mounts the device under /sysroot. For more information, see bootup7.