diff options
author | Tom Gundersen <teg@jklm.no> | 2015-03-24 15:15:45 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-04-12 11:19:21 -0400 |
commit | bf6e9fab7bd0eb86d415d8fba9e0ee93aba7c232 (patch) | |
tree | 13360e51af1138e2987f0b7a23c66566da97031d /rules | |
parent | rules: avoid 'device/' accesses (diff) | |
download | eudev-bf6e9fab7bd0eb86d415d8fba9e0ee93aba7c232.tar.gz eudev-bf6e9fab7bd0eb86d415d8fba9e0ee93aba7c232.tar.bz2 eudev-bf6e9fab7bd0eb86d415d8fba9e0ee93aba7c232.zip |
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>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/60-persistent-storage.rules | 2 |
1 files changed, 2 insertions, 0 deletions
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 <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" |