udev auto mount LUKS encrypted partition by UUID
Sunday, July 1st, 2012
Here is the overview When a device is detected, check to see if it is a hard drive
(eg: sda, sdb, sdc, and so on).
If it is not, we are done, and go to the end of this rule file.
If it is a hard drive, check it using the blkid program to see if there is a partition type of “crypto_LUKS” present.