]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cryptsetup: add documentation for keyfile-timeout
authorshinygold <10763595+shinygold@users.noreply.github.com>
Tue, 16 Jul 2019 11:05:34 +0000 (13:05 +0200)
committershinygold <10763595+shinygold@users.noreply.github.com>
Wed, 17 Jul 2019 11:53:55 +0000 (13:53 +0200)
man/crypttab.xml

index 5eb1c12232c784a554362e3908a27f3bed7fdbe4..76eef06bed8d15990e7f3c69391b9763ff501488 100644 (file)
         sequential order.</para></listitem>
       </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>
 
       <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>