From 4eac277367d70e6126f53886f99043409a80195f Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 16 Apr 2015 06:44:07 -0500 Subject: cryptsetup: Implement offset and skip options These are useful for plain devices as they don't have any metadata by themselves. Instead of using an unreliable hardcoded device name in crypttab you can then put static metadata at the start of the partition for a stable UUID or label. https://bugs.freedesktop.org/show_bug.cgi?id=87717 https://bugs.debian.org/751707 https://launchpad.net/bugs/953875 --- man/crypttab.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'man') diff --git a/man/crypttab.xml b/man/crypttab.xml index 3e249ad23e..d4ff760adc 100644 --- a/man/crypttab.xml +++ b/man/crypttab.xml @@ -145,6 +145,30 @@ option. + + + + Start offset in the backend device, in 512-byte sectors. + This option is only relevant for plain devices. + + + + + + + How many 512-byte sectors of the encrypted data to skip + at the beginning. This is different from the + option with respect to the sector numbers used in initialization vector + (IV) calculation. Using will shift the IV + calculation by the same negative amount. Hence, if , + sector n will get a sector number of 0 for the IV calculation. + Using causes sector n to also be the first + sector of the mapped device, but with its number for IV generation is n. + + This option is only relevant for plain devices. + + + -- cgit v1.2.3-54-g00ecf