12 May
2012
12 May
'12
3:42 p.m.
Recently, I tried to automatically unlock an encrypted external USB hard drive on Arch Linux. I have done this by inserting an appropriate entry into /etc/crypttab. I chose the device to be unlocked by cryptsetup with a key file by UUID.
Udisks listens to udev events and sends dbus events, so you can make a "daemon" script, similar to that devmon shell that waits for your usb drive and then does what it needs to do. -- дамјан