Blame 0005-rules-fix-typo-in-block-watch-rule.patch
|
Harald Hoyer |
6cfa04 |
From 10c7cf9e109f6b59159e439774b5be5fd1faa24e Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
6cfa04 |
From: Tom Gundersen <teg@jklm.no>
|
|
Harald Hoyer |
6cfa04 |
Date: Fri, 29 May 2015 19:59:24 +0200
|
|
Harald Hoyer |
6cfa04 |
Subject: [PATCH] rules: fix typo in block watch rule
|
|
Harald Hoyer |
6cfa04 |
|
|
Harald Hoyer |
6cfa04 |
The intention was to turn this rule from using a blacklist to a whitelist, but
|
|
Harald Hoyer |
6cfa04 |
there was a stray '!'.
|
|
Harald Hoyer |
6cfa04 |
---
|
|
Harald Hoyer |
6cfa04 |
rules/60-block.rules | 2 +-
|
|
Harald Hoyer |
6cfa04 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Harald Hoyer |
6cfa04 |
|
|
Harald Hoyer |
6cfa04 |
diff --git a/rules/60-block.rules b/rules/60-block.rules
|
|
Harald Hoyer |
6cfa04 |
index de41499..cfd5010 100644
|
|
Harald Hoyer |
6cfa04 |
--- a/rules/60-block.rules
|
|
Harald Hoyer |
6cfa04 |
+++ b/rules/60-block.rules
|
|
Harald Hoyer |
6cfa04 |
@@ -8,4 +8,4 @@ ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_
|
|
Harald Hoyer |
6cfa04 |
ACTION=="change", SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST=="block", ATTR{block/*/uevent}="change"
|
|
Harald Hoyer |
6cfa04 |
|
|
Harald Hoyer |
6cfa04 |
# watch metadata changes, caused by tools closing the device node which was opened for writing
|
|
Harald Hoyer |
6cfa04 |
-ACTION=="add", SUBSYSTEM=="block", KERNEL!="loop*|nvme*|sd*|vd*", OPTIONS+="watch"
|
|
Harald Hoyer |
6cfa04 |
+ACTION=="add", SUBSYSTEM=="block", KERNEL=="loop*|nvme*|sd*|vd*", OPTIONS+="watch"
|