[pkg-cryptsetup-devel] cryptsetup: prompt for password if device exists, otherwise don't block for it to appear
micah at debian.org
Wed Apr 1 16:49:47 UTC 2015
I have an encrypted USB drive that is not always attached to my
system. With the default cryptsetup configuration, when the system
boots, it asks me for the passphrase and everything is fine. If the
device is not connected, then booting takes a long time because a
1min30second timeout is triggered waiting for the disk to show up.
If I set 'noauto' in crypttab, then I wont be asked for the disk
passphrase on boot, even if the device is there, but then the system
wont block waiting for the device if it is not there.
I would like it if I were prompted for passphrase for this disk, if it
is there, otherwise don't spend 1min30seconds blocking boot for it. I
understand some people might want the long timeout, but it is pretty
frustrating when you do not want it. Perhaps this could be an option
More information about the pkg-cryptsetup-devel