summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules.d/90-iocost.rules4
1 files changed, 1 insertions, 3 deletions
diff --git a/rules.d/90-iocost.rules b/rules.d/90-iocost.rules
index 6c31cae56b..34311ded6d 100644
--- a/rules.d/90-iocost.rules
+++ b/rules.d/90-iocost.rules
@@ -8,9 +8,7 @@
# (at your option) any later version.
SUBSYSTEM!="block", GOTO="iocost_end"
-
-ENV{DEVTYPE}=="partition", GOTO="iocost_end"
-
+ENV{DEVTYPE}!="disk", GOTO="iocost_end"
ACTION=="remove", GOTO="iocost_end"
ENV{.MODEL}=""