Hi Lennart,

On 28.05.2019 14:02, Lennart Poettering wrote:
The kernel devices are currently single-use only. Most of these fields
are exported via sysfs too however:

     grep . /sys/class/watchdog/watchdog0/*

Oh, that's very useful and indeed, there is timeleft property there and it's changing.

I think it might make sense if util-linux' wdctl would alternatively
use the sysfs API for querying these bits, it should be fairly easy to
add, please file a bug requesting that on util-linux github page!

The bug has been filed under this URL:
https://github.com/karelzak/util-linux/issues/804

Thank you for your assistance!

Kind regards,
Wiktor

--
https://metacode.biz/@wiktor
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to