[systemd-commits] rules/60-persistent-storage.rules
Tom Gundersen
tomegun at kemper.freedesktop.org
Tue Mar 24 07:24:07 PDT 2015
rules/60-persistent-storage.rules | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit c6e20ceb09497d842f41ef9b0da553930efbe49d
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Mar 24 15:15:45 2015 +0100
rules: storage - don't apply rules to remove events
This line was accidentally lost in 52346b5f5424.
diff --git a/rules/60-persistent-storage.rules b/rules/60-persistent-storage.rules
index df490b0..1124050 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 at 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"
More information about the systemd-commits
mailing list