summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorTony Asleson <tasleson@redhat.com>2019-02-08 15:47:10 -0600
committerLennart Poettering <lennart@poettering.net>2019-02-15 11:30:33 +0100
commitf82abfcda58168d9f667e2094d438763531d3fa6 (patch)
treedef1746595aad5dd1cee17d13b3ef007bafcf0ab /rules
parentcd65d06720a3039c56c2266397f4a1a3ba919204 (diff)
downloadsystemd-f82abfcda58168d9f667e2094d438763531d3fa6.tar.gz
systemd-f82abfcda58168d9f667e2094d438763531d3fa6.tar.bz2
systemd-f82abfcda58168d9f667e2094d438763531d3fa6.zip
rules: watch metadata changes on nbd devices
Include nbd* in match for watch option assignment. Signed-off-by: Tony Asleson <tasleson@redhat.com>
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 a1458e9188..491081f0b2 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!="remove", SUBSYSTEM=="block", KERNEL=="loop*|nvme*|sd*|vd*|xvd*|pmem*|mmcblk*|dasd*", OPTIONS+="watch"
+ACTION!="remove", SUBSYSTEM=="block", KERNEL=="loop*|nvme*|sd*|vd*|xvd*|pmem*|mmcblk*|dasd*|nbd*", OPTIONS+="watch"