nixos/luksroot: Check whether the device already exists
The new reuse behaviour is cool and really useful but it breaks one of my use cases. When using kexec, I have a script which will unlock the disks in my initrd. However, do_open_passphrase will fail if the disk is already unlocked.
parent
70419721
Please register or sign in to comment