summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-03-24 15:15:45 +0100
committerAnthony G. Basile <blueness@gentoo.org>2015-04-12 11:19:21 -0400
commitbf6e9fab7bd0eb86d415d8fba9e0ee93aba7c232 (patch)
tree13360e51af1138e2987f0b7a23c66566da97031d
parent7457718859e2a1cbd3a4ebd50413ce00276027c8 (diff)
rules: storage - don't apply rules to remove events
This line was accidentally lost in 52346b5f5424. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-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"