summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-11-13 07:45:58 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-11-13 07:45:58 +0100
commit8e9c06be26a5c40454bb3925a10d9ccdaab37b2d (patch)
tree2484b6125d9f3e6677f689714dfc96ba387e0fdb
parent50025605e0f9942da513c9dcfde289495afefd17 (diff)
rules: remove DEVTYPE disk/partition
-rw-r--r--TODO2
-rw-r--r--rules/rules.d/60-persistent-storage.rules4
2 files changed, 0 insertions, 6 deletions
diff --git a/TODO b/TODO
index 4d6f6d4d19..8986d19722 100644
--- a/TODO
+++ b/TODO
@@ -3,8 +3,6 @@
o drop pnp shell script, acpi will take care of loading pnp modules
o add DVB variables to kernel (patch merged in v4l tree), drop the
shell script rule
- o DEVTYPE for disks is set by the kernel, they will be removed from
- the default rules
o "udevadm control" commands will only accept the --<command> syntax
o symlink names to udevadm will no longer be resolved to old command names
o get distros to agree on a default set of rules
diff --git a/rules/rules.d/60-persistent-storage.rules b/rules/rules.d/60-persistent-storage.rules
index dec83cfe7e..4f8de28a7f 100644
--- a/rules/rules.d/60-persistent-storage.rules
+++ b/rules/rules.d/60-persistent-storage.rules
@@ -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_*"