summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshinygold <10763595+shinygold@users.noreply.github.com>2019-07-16 13:05:34 +0200
committerThe Plumber <50238977+systemd-rhel-bot@users.noreply.github.com>2019-12-18 13:15:38 +0100
commitfdb86185b56619c59602c6546fd0710eec4a6e85 (patch)
treef6461641b4b786ae7532a0bf15909bfab9c80da7
parent0f7a4f49a7ce95e87061afe03ac40662a1eb0e2d (diff)
downloadsystemd-fdb86185b56619c59602c6546fd0710eec4a6e85.tar.gz
cryptsetup: add documentation for keyfile-timeout
(cherry picked from commit 4e1334512debb27f4a0c4a6da237a4b8d59fea08) Related: #1763155
-rw-r--r--man/crypttab.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/man/crypttab.xml b/man/crypttab.xml
index 3574ce00da..6074315980 100644
--- a/man/crypttab.xml
+++ b/man/crypttab.xml
@@ -151,6 +151,17 @@
</varlistentry>
<varlistentry>
+ <term><option>keyfile-timeout=</option></term>
+
+ <listitem><para> Specifies the timeout for the device on
+ which the key file resides and falls back to a password if
+ it could not be mounted. See
+ <citerefentry><refentrytitle>systemd-cryptsetup-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ for key files on external devices.
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>luks</option></term>
<listitem><para>Force LUKS mode. When this mode is used, the
@@ -417,7 +428,8 @@
<programlisting>luks UUID=2505567a-9e27-4efe-a4d5-15ad146c258b
swap /dev/sda7 /dev/urandom swap
truecrypt /dev/sda2 /etc/container_password tcrypt
-hidden /mnt/tc_hidden /dev/null tcrypt-hidden,tcrypt-keyfile=/etc/keyfile</programlisting>
+hidden /mnt/tc_hidden /dev/null tcrypt-hidden,tcrypt-keyfile=/etc/keyfile
+external /dev/sda3 keyfile:LABEL=keydev keyfile-timeout=10s</programlisting>
</example>
</refsect1>