rules: watch metadata changes on DASD devices

To make sure the change event is emitted and udev db is updated
after metadata changes.
This commit is contained in:
Vojtech Trefny 2018-12-04 16:47:36 +01:00 committed by Lennart Poettering
parent ee589a1882
commit 38397c8ce0
1 changed files with 1 additions and 1 deletions

View File

@ -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*", OPTIONS+="watch"
ACTION!="remove", SUBSYSTEM=="block", KERNEL=="loop*|nvme*|sd*|vd*|xvd*|pmem*|mmcblk*|dasd*", OPTIONS+="watch"