summaryrefslogtreecommitdiff
path: root/rules/rules.d/60-persistent-storage-tape.rules
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-04-12 16:52:41 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-04-12 16:52:41 +0200
commit4b06c409350d26af5e6ace0f368d01b80d75438e (patch)
tree10d8291f4e1faf0c008e41c8570297490d45a09d /rules/rules.d/60-persistent-storage-tape.rules
parent86dc9133f88e8690aa89ccb5a240ff915b1fb69f (diff)
replace "add|change" with "!remove"
Diffstat (limited to 'rules/rules.d/60-persistent-storage-tape.rules')
-rw-r--r--rules/rules.d/60-persistent-storage-tape.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/rules.d/60-persistent-storage-tape.rules b/rules/rules.d/60-persistent-storage-tape.rules
index 968528d845..833ef94daa 100644
--- a/rules/rules.d/60-persistent-storage-tape.rules
+++ b/rules/rules.d/60-persistent-storage-tape.rules
@@ -2,7 +2,7 @@
# persistent storage links: /dev/tape/{by-id,by-path}
-ACTION!="add|change", GOTO="persistent_storage_tape_end"
+ACTION=="remove", GOTO="persistent_storage_tape_end"
# type 8 devices are "Medium Changers"
SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="8", IMPORT{program}="scsi_id --sg-version=3 --export --whitelisted -d $tempnode", SYMLINK+="tape/by-id/scsi-$env{ID_SERIAL}"