mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
rules: restore block watch after CHANGE events
When processing an event, the watch is disabled, make sure it is restorted after a CHANGE event has been processed.
This commit is contained in:
parent
f07689517e
commit
b50063512d
@ -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!="remove", SUBSYSTEM=="block", KERNEL=="loop*|nvme*|sd*|vd*", OPTIONS+="watch"
|
||||
|
Loading…
Reference in New Issue
Block a user