summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshinygold <10763595+shinygold@users.noreply.github.com>2019-07-16 13:05:34 +0200
committershinygold <10763595+shinygold@users.noreply.github.com>2019-07-17 13:53:55 +0200
commit4e1334512debb27f4a0c4a6da237a4b8d59fea08 (patch)
treeae11895bf7ebee962b338c88172f0ef24a0ab2ad
parent52f4b5ac8a046172aacf3fa441e89997445b80ed (diff)
downloadsystemd-4e1334512debb27f4a0c4a6da237a4b8d59fea08.tar.gz
cryptsetup: add documentation for keyfile-timeout
-rw-r--r--man/crypttab.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/man/crypttab.xml b/man/crypttab.xml
index 5eb1c12232..76eef06bed 100644
--- a/man/crypttab.xml
+++ b/man/crypttab.xml
@@ -152,6 +152,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
@@ -438,7 +449,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>