summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-05-29 19:59:24 +0200
committerTom Gundersen <teg@jklm.no>2015-05-30 02:14:25 +0200
commitf07689517e3715d03590e779841647aed0cd2ba7 (patch)
tree6c4f9ec4b136b01b0aa2b93caffb8f82053eece3 /rules
parent0689798a9009f1be25d162a533e0d14094e9b5bd (diff)
rules: fix typo in block watch rule
The intention was to turn this rule from using a blacklist to a whitelist, but there was a stray '!'.
Diffstat (limited to 'rules')
-rw-r--r--rules/60-block.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/60-block.rules b/rules/60-block.rules
index de41499cb7..cfd5010bbd 100644
--- a/rules/60-block.rules
+++ b/rules/60-block.rules
@@ -8,4 +8,4 @@ ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_
ACTION=="change", SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST=="block", ATTR{block/*/uevent}="change"
# watch metadata changes, caused by tools closing the device node which was opened for writing
-ACTION=="add", SUBSYSTEM=="block", KERNEL!="loop*|nvme*|sd*|vd*", OPTIONS+="watch"
+ACTION=="add", SUBSYSTEM=="block", KERNEL=="loop*|nvme*|sd*|vd*", OPTIONS+="watch"