diff options
author | kjackiewicz <kjackiewicz@users.noreply.github.com> | 2017-05-30 15:19:03 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-05-30 15:19:03 +0200 |
commit | e74d0a9a5cdd8562aeaab1994ebd9c4cd07e82c3 (patch) | |
tree | b153f2785b683b30f9e2aca39d6f4d535c7d57dd /rules | |
parent | c4c069121cbd5f882ef2e7effba5cdd3673c0a1f (diff) | |
download | systemd-e74d0a9a5cdd8562aeaab1994ebd9c4cd07e82c3.tar.gz systemd-e74d0a9a5cdd8562aeaab1994ebd9c4cd07e82c3.tar.bz2 systemd-e74d0a9a5cdd8562aeaab1994ebd9c4cd07e82c3.zip |
rules: watch metadata changes in mmcblk devices (#6050)
Formatting sd-cards does not trigger "change" uevents. As a result clients
using udev API don't get any updates afterwards and get outdated information
about the device.
Include mmcblk* in a match for watch option assignment.
Diffstat (limited to 'rules')
-rw-r--r-- | rules/60-block.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/60-block.rules b/rules/60-block.rules index 42c75974a5..343fc06f85 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*", OPTIONS+="watch" +ACTION!="remove", SUBSYSTEM=="block", KERNEL=="loop*|nvme*|sd*|vd*|xvd*|pmem*|mmcblk*", OPTIONS+="watch" |