On 03/25/2010 04:56 PM, Ali Reza Sajedi wrote: > For this purpose I have a perl script called via a dev-rule when the drive > is attached. If it is cryptsetup 1.0.6 it internally calls udevadm settle, you are running from udev rule, so it waits for itself ->deadlock -> timeout. I later version is this removed, BUT: If you are using device-mapper with udev enabled, its need to synchronise device node creation, which happens from the last dm udev-rule, but you are blocked in rule before -> deadlock -> timeout (maybe). Best do not do these operations from udev rule at all. Maybe if it fork itself, it can work somehow. Anyway it is probably better to not add such commands directly to udev rule, but in some other system which registers for udev events (using some d-bus message or whatever). Someone probably can suggest better desktop solution... Milan _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt