Re: watchdog start on restart

From: Ivan Mikhaylov
Date: Thu Sep 03 2020 - 06:16:14 EST


On Wed, 2020-09-02 at 15:19 +0200, Christophe Leroy wrote:

> Isn't it the default expected behaviour for a watchdog ?

It depends on hardware and system requirements. You may have not just one
watchdog device.

> "stop watchdog on restart" is there to keep things under control during
> a wanted machine reboot/restart, while still having the watchdog do its
> job on an unexpected restart.

Yes, that's correct.

> What would be the advantage of an ioctl() compared to the existing way ?

You can control stop/start at any moment for any number of watchdog devices.

Thanks.