diff options
author | David Zeuthen <davidz@redhat.com> | 2009-10-23 22:12:22 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2009-10-23 22:12:22 -0400 |
commit | a95d351dcae957e36b1cd3c7c6c1a784de65dcf8 (patch) | |
tree | 4180bfce6a87bd137374bc40d07daba2da41e99a /data | |
parent | d265ec7132e50dab067fafcf0a10d8bf3d2e235c (diff) |
Various device-mapper and cryptsetup fixes
Diffstat (limited to 'data')
-rw-r--r-- | data/95-devkit-disks.rules | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/data/95-devkit-disks.rules b/data/95-devkit-disks.rules index e383e6c..f49eba9 100644 --- a/data/95-devkit-disks.rules +++ b/data/95-devkit-disks.rules @@ -6,6 +6,10 @@ ACTION!="add|change", GOTO="devkit_disks_end" SUBSYSTEM!="block", GOTO="devkit_disks_end" KERNEL=="loop*|ram*", GOTO="devkit_disks_end" +# we only care about change events on device-mapper +# devices - never touch the device on add events +KERNEL=="dm-*", ACTION!="change", GOTO="devkit_disks_end" + ############################################################################################################## # Probe for partition tables; this really should be part of udev @@ -33,7 +37,7 @@ LABEL="probe_parttable_end" # by the device-mapper package # KERNEL!="dm-*", GOTO="device_mapper_end" -ACTION!="add|change", GOTO="device_mapper_end" +ACTION!="change", GOTO="device_mapper_end" IMPORT{program}="devkit-disks-dm-export %M %m" ENV{DKD_DM_NAME}!="?*", GOTO="device_mapper_end" |