summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-08-03 12:47:24 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-03 20:49:55 +0200
commit4271d8235f1186ddad54f432eaca10f8e3bd255f (patch)
tree0769a23c4e97f823ba00f4a0aba89e5188b365e6 /man
parentbuild-sys: do not link systemctl against journal-internal and id128-internal (diff)
downloadsystemd-4271d8235f1186ddad54f432eaca10f8e3bd255f.tar.xz
systemd-4271d8235f1186ddad54f432eaca10f8e3bd255f.zip
cryptsetup: add keyfile-size= support
This is useful e.g. if the keyfile is a raw device, where only parts of it should be read. It is typically used whenever the keyfile-offset= option is specified. Tested-by: Erik Westrup <erik.westrup@gmail.com>
Diffstat (limited to 'man')
-rw-r--r--man/crypttab.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/crypttab.xml b/man/crypttab.xml
index 2fa8e8940f..8711272a87 100644
--- a/man/crypttab.xml
+++ b/man/crypttab.xml
@@ -131,6 +131,18 @@
<varlistentry>
+ <term><varname>keyfile-size=</varname></term>
+
+ <listitem><para>Specifies the maximum number
+ of bytes to read from the keyfile; see
+ <citerefentry><refentrytitle>cryptsetup</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ for possible values and the default
+ value of this option. This option is ignored
+ in plain encryption mode, as the keyfile-size is then given by the key size.</para></listitem>
+ </varlistentry>
+
+
+ <varlistentry>
<term><varname>keyfile-offset=</varname></term>
<listitem><para>Specifies the number