[arch-projects] [initscripts][RFC] cryptsetup: deprecate old syntax and default to the systemd one

Heiko Baums lists at baums-on-web.de
Wed Jul 11 05:26:27 EDT 2012


Am Wed, 11 Jul 2012 11:13:27 +0200
schrieb Tom Gundersen <teg at jklm.no>:

> Damn, I pasted the wrong link. Sorry about that. It should have been:
> <http://0pointer.de/public/systemd-man/crypttab.html>.
> 
> So, to decrypt /dev/sda1 using a 1024 bits key stored at an offset of
> 1MB on the key usb drive /dev/sdd, you would do
> 
> secret       /dev/sda1      /dev/sdd
> size=1024,keyfile-offset=1024
> 
> The missing keyfile-offset entry from the link is:
> 
> "keyfile-offset=
>            Specifies the number of bytes to skip at the start of the
> keyfile; see cryptsetup(8) for possible values and the default value
> of this option."

Thanks. That clarifies it. Looks indeed a bit clearer than the old
syntax.

Heiko


More information about the arch-projects mailing list