aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-02-07 19:02:29 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-02-07 19:02:29 +0100
commita0a6d6313874a7567a26c405713aaf610695285d (patch)
treee57c7e63dff1864bd631b79b89f1854094367109 /doc
parentgenkernel: make sure GREP_OPTIONS is unset (diff)
downloadgenkernel-a0a6d6313874a7567a26c405713aaf610695285d.tar.gz
genkernel-a0a6d6313874a7567a26c405713aaf610695285d.tar.bz2
genkernel-a0a6d6313874a7567a26c405713aaf610695285d.zip
linuxrc: add kernel command-line argument to allow user to pass additional options to cryptsetup
Cryptsetup supports additional options like "--perf-no_read_workqueue" or "--perf-no_write_workqueue". While it is recommended to use LUKS2 format and make these activiation flags permanent, you can also make use of the new kernel command-line arguments "crypt_root_options" for root device or "crypt_swap_options" for swap device to pass additional options to cryptsetup. These arguments can be specified multiple times or separate multiple options with a comma. Bug: https://bugs.gentoo.org/755587 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/genkernel.8.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/genkernel.8.txt b/doc/genkernel.8.txt
index 8909fc7..ddccd9f 100644
--- a/doc/genkernel.8.txt
+++ b/doc/genkernel.8.txt
@@ -633,9 +633,19 @@ recognized by the kernel itself.
This specifies the device encrypted by LUKS, which contains the
root filesystem to mount.
+*crypt_root_options*=<...>::
+ This specifies additional options, which should get passed to
+ cryptsetup when opening root volume. Can be specified multiple
+ times or separate multiple options with a comma.
+
*crypt_swap*=<...>::
This specifies the swap device encrypted by LUKS.
+*crypt_swap_options*=<...>::
+ This specifies additional options, which should get passed to
+ cryptsetup when opening swap volume. Can be specified multiple
+ times or separate multiple options with a comma.
+
*root_key*=<...>::
In case your root is encrypted with a key, you can use a device
like a usb pen to store the key. This value should be the key