summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-03-24 15:15:45 +0100
committerTom Gundersen <teg@jklm.no>2015-03-24 15:23:49 +0100
commitc6e20ceb09497d842f41ef9b0da553930efbe49d (patch)
tree9dc950b417310f368d85dee728751affb40e3cd7 /rules
parent16c6ea29348ddac73998f339166f863bee0dfef6 (diff)
rules: storage - don't apply rules to remove events
This line was accidentally lost in 52346b5f5424.
Diffstat (limited to 'rules')
-rw-r--r--rules/60-persistent-storage.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/60-persistent-storage.rules b/rules/60-persistent-storage.rules
index df490b09d5..11240508a8 100644
--- a/rules/60-persistent-storage.rules
+++ b/rules/60-persistent-storage.rules
@@ -3,6 +3,8 @@
# persistent storage links: /dev/disk/{by-id,by-uuid,by-label,by-path}
# scheme based on "Linux persistent device names", 2004, Hannes Reinecke <hare@suse.de>
+ACTION=="remove", GOTO="persistent_storage_end"
+
SUBSYSTEM!="block", GOTO="persistent_storage_end"
KERNEL!="loop*|mmcblk[0-9]|mspblk[0-9]|nvme*|sd*|sr*|vd*", GOTO="persistent_storage_end"