diff options
author | Tom Gundersen <teg@jklm.no> | 2012-06-29 14:36:37 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-07-09 22:07:52 +0200 |
commit | 880a599e262b9193219e612d827b35bb0c292dae (patch) | |
tree | cc98a4cdfec0b535afd79786b45cb64d7a7f91c2 /man/crypttab.xml | |
parent | 2be7287b0eb88ec7ebc3117e59554c2f6e7ac9e4 (diff) | |
download | systemd-880a599e262b9193219e612d827b35bb0c292dae.tar.gz |
cryptsetup: add keyfile-offset= support
This is useful if your keyfile is a block device, and you want to
use a specific part of it, such as an area between the MBR and the
first partition.
This feature is documented in the Arch wiki[0], and has been supported
by the Arch initscripts, so would be nice to get this into systemd.
This requires libcryptsetup >= 1.4.2 (released 12.4.2012).
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
[0]:
<https://wiki.archlinux.org/index.php/System_Encryption_with_LUKS#
Storing_the_key_between_MBR_and_1st_partition>
Diffstat (limited to 'man/crypttab.xml')
-rw-r--r-- | man/crypttab.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/man/crypttab.xml b/man/crypttab.xml index f3bde71b4f..2fa8e8940f 100644 --- a/man/crypttab.xml +++ b/man/crypttab.xml @@ -131,6 +131,18 @@ <varlistentry> + <term><varname>keyfile-offset=</varname></term> + + <listitem><para>Specifies the number + of bytes to skip at the start of + the keyfile; see + <citerefentry><refentrytitle>cryptsetup</refentrytitle><manvolnum>8</manvolnum></citerefentry> + for possible values and the default + value of this option.</para></listitem> + </varlistentry> + + + <varlistentry> <term><varname>hash=</varname></term> <listitem><para>Specifies the hash to |