From c6e20ceb09497d842f41ef9b0da553930efbe49d Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Tue, 24 Mar 2015 15:15:45 +0100 Subject: [PATCH] rules: storage - don't apply rules to remove events This line was accidentally lost in 52346b5f5424. --- rules/60-persistent-storage.rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/60-persistent-storage.rules b/rules/60-persistent-storage.rules index df490b09d..11240508a 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 +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" -- 2.30.2