Hello, I'd like to know if there's a mechanism that allows to wait that all events triggered by the modifications of the disk partition table of a given block device are processed by systemd so the corresponding device unit state is stable.
Currently I can see that the device unit is entering in unplugged then plugged states when the block device is closed. I'm aware that such mechanism exists for udev but I'd also like to be sure that before starting a service depending on the device unit, the events sent by udev to systemd are handled so the device unit is not going through the unplugged state. Thank you. -- Francis