[arch-general] cryptsetup and udev

Guus Snijders gsnijders at gmail.com
Mon Mar 9 03:58:27 EDT 2009


2009/3/7 Thomas Bächler <thomas at archlinux.org>:
> Henri Häkkinen schrieb:
>>
[ udev rule to run cryptsetup on plugging in ]
>>
>> Udev seems to recognize my drive but instead of creating
>> /dev/mapper/usbhd I get some nonsense like
>> /dev/mapper/temporary-cryptsetup-7501 or similar.
[...]
> cryptsetup creates this device to be able to access the key storage, then
> extracts the key and closes it again (you should not try to access this
> temporary-cryptsetup-XXXX device, as writing to it might destroy your
> LUKS header). This means that cryptsetup hangs in the middle of the
> process here.

Hmm, maybe you're trying to acces the HDD too soon?
USB-HDD's generally take some time to initialize, so it might just be
a timing issue.



mvg,
      Guus


More information about the arch-general mailing list