[systemd-devel] reliable way to check if udev is ready to serve requests

Michael Biebl mbiebl at gmail.com
Tue Oct 9 20:24:48 UTC 2018


Hi,

is there a reliable way to check from a shell script that udevd is
running and able to serve request?
Say you want to run "udevadm trigger" but only if udevd is actually
able to process that request.

There is a udev_ctrl_send_ping() function, which looks like it could
be perhaps used for those. Unfortunately this is not exposed via
"udevadm control"

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the systemd-devel mailing list