Am Do., 11. Okt. 2018 um 08:54 Uhr schrieb Lennart Poettering
<lenn...@poettering.net>:
>
> On Di, 09.10.18 22:24, Michael Biebl (mbi...@gmail.com) wrote:
>
> > 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"
>
> systemctl is-running systemd-udevd-kernel.socket

I forgot to add, that systemd-udevd is not necessarily started by
systemd in this particular case. So I can't use systemctl...


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to