chiark / gitweb /
rules: remove DEVTYPE disk/partition
[elogind.git] / rules / rules.d / 60-persistent-storage.rules
index dec83cfe7ea33c8167a513918c307d1db3d6b820..4f8de28a7fbb525e0e53f27e8b84830d78bf3b70 100644 (file)
@@ -19,10 +19,6 @@ KERNEL=="hd*[0-9]", ATTRS{removable}=="1", GOTO="persistent_storage_end"
 # ignore partitions that span the entire disk
 TEST=="whole_disk", GOTO="persistent_storage_end"
 
-# /sys/class/block will export this
-ENV{DEVTYPE}!="?*", ATTR{range}=="?*", ENV{DEVTYPE}="disk"
-ENV{DEVTYPE}!="?*", ATTR{start}=="?*", ENV{DEVTYPE}="partition"
-
 # for partitions import parent information
 ENV{DEVTYPE}=="partition", IMPORT{parent}="ID_*"