Remove blkid probing of device-mapper nodes
authorMartin Pitt <martin.pitt@ubuntu.com>
Tue, 5 Apr 2011 20:16:00 +0000 (22:16 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Tue, 5 Apr 2011 20:16:00 +0000 (22:16 +0200)
This was introduced years ago when udev rules were still something new, but
these workarounds really should not be in udev any longer.

lvm2 has shipped udev/13-dm-disk.rules with that blkid command for at least a
year (probably longer).

data/80-udisks.rules

index a8afe92..94119b5 100644 (file)
@@ -91,23 +91,6 @@ LABEL="probe_parttable_end"
 
 ##############################################################################################################
 
-# pick up device-mapper data; this REALLY should be done by rules installed
-# by the device-mapper package
-#
-KERNEL!="dm-*", GOTO="device_mapper_end"
-ACTION!="change", GOTO="device_mapper_end"
-
-ENV{UDISKS_DM_TARGET_TYPES}=="|*error*", GOTO="device_mapper_end"
-
-# avoid probing if it has already been done earlier
-#
-ENV{ID_FS_USAGE}!="", GOTO="device_mapper_end"
-IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
-
-LABEL="device_mapper_end"
-
-##############################################################################################################
-
 # pick up data from MD components; this REALLY should be done by rules installed
 # by mdadm or the kernel package
 #