chiark / gitweb /
update Debian rules
[elogind.git] / etc / udev / debian / persistent.rules
index 9f1887ddea1f18b4e1a299d38eb3bd0f6efa5458..349817d797543ef1239e94bf4fe5de458bc24ba8 100644 (file)
@@ -5,7 +5,7 @@ SUBSYSTEM!="block",                     GOTO="no_volume_id"
 ACTION!="add",                         GOTO="no_volume_id"
 
 # and we can safely ignore these kinds of devices
 ACTION!="add",                         GOTO="no_volume_id"
 
 # and we can safely ignore these kinds of devices
-KERNEL=="ram*|loop*|fd*|nbd*",         GOTO="no_volume_id"
+KERNEL=="ram*|loop*|fd*|nbd*|dm-*",    GOTO="no_volume_id"
 
 # skip removable ide devices, because open(2) on them causes an events loop
 KERNEL=="hd*[!0-9]",   SYSFS{removable}=="1", DRIVER=="ide-cs|ide-floppy", \
 
 # skip removable ide devices, because open(2) on them causes an events loop
 KERNEL=="hd*[!0-9]",   SYSFS{removable}=="1", DRIVER=="ide-cs|ide-floppy", \
@@ -69,9 +69,6 @@ ENV{ID_FS_UUID}=="?*",                        ENV{ID_FS_USAGE}=="filesystem|other", \
 ENV{ID_FS_LABEL_SAFE}=="?*",           ENV{ID_FS_USAGE}=="filesystem|other", \
        SYMLINK+="disk/by-label/$env{ID_FS_LABEL_SAFE}"
 
 ENV{ID_FS_LABEL_SAFE}=="?*",           ENV{ID_FS_USAGE}=="filesystem|other", \
        SYMLINK+="disk/by-label/$env{ID_FS_LABEL_SAFE}"
 
-#KERNEL=="dm-[0-9]*", PROGRAM="/sbin/dmsetup info -c --noopencount --noheadings -o name -j %M -m %m", \
-#      SYMLINK+="disk/by-name/%c"
-
 # end of processing
 LABEL="no_volume_id"
 
 # end of processing
 LABEL="no_volume_id"