Re: cryptsetup and udev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



2009/3/7 Thomas Bächler <thomas@xxxxxxxxxxxxx>:
> 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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux