[dm-crypt] Problem with udev and dmcrpyt

Milan Broz mbroz at redhat.com
Fri Jul 16 13:26:33 CEST 2010


On 07/16/2010 01:15 PM, Aaron Lewis wrote:

>> The "name" is whatever you call it when you run cryptsetup luksOpen (or
>> create). The file system inside the volume can be identified by UUID as
>> any file system can.
> 
> For example ? With udev rules or dmcrypt configurations ?

See ehat dm udev rules is doing - using DM_NAME attribute to create symlinks etc.
There is nothing special needed for dm-crypt - DM rules are common.

ls /lib/udev/rules.d/*-dm-*
/lib/udev/rules.d/11-dm-lvm.rules
/lib/udev/rules.d/13-dm-disk.rules
/lib/udev/rules.d/95-dm-notify.rules

(on my Gentoo test system)

No need to hack udev rules yourself and reinvent the wheel.

Milan


More information about the dm-crypt mailing list