[systemd-devel] [PATCH] cryptsetup-generator: support rd.luks.key=keyfile:keyfile_device

Andrei Borzenkov arvidjaar at gmail.com
Fri Feb 20 09:03:50 PST 2015


В Fri, 20 Feb 2015 10:56:42 +0100
Jan Synacek <jsynacek at redhat.com> пишет:

> To be more consistent with how dracut parses rd.luks.key, it is now
> allowed to specified it in the format "keyfile[:keyfile_device]".
> 
> Should keyfile_device be provided, it needs to be in "UUID=uuid-here"
> format. Also, keyfile path is then treated relatively to the root of the
> keyfile device.
> 

What makes UUID special? Why it cannot be anything mount understands
(like LABEL=..., /dev/disk/by-uuid/...). systemd already has code to
resolve it.


More information about the systemd-devel mailing list