Date: Thu, 31 Jul 2003 08:14:12 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: John-Mark Gurney <gurney_j@efn.org> Cc: Sean Kelly <smkelly@freebsd.org> Subject: Re: A working watchdog API Message-ID: <7895.1059632052@critter.freebsd.dk> In-Reply-To: Your message of "Wed, 30 Jul 2003 22:49:02 PDT." <20030731054902.GJ10708@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030731054902.GJ10708@funkthat.com>, John-Mark Gurney writes:
>Sean Kelly wrote this message on Wed, Jul 30, 2003 at 19:23 -0500:
>> watchdog_tickle()
>
>Why not pet the dog to keep it happy. If you tickle it, it might bite
>your hand off!
>
>(A friend of mine told me that the man page for Solaris talks about
>petting the dog to keep it from rebooting the box, etc.)
We're way ahead of you:
$ grep IOC /sys/sys/watchdog.h
#define WDIOCPATPAT _IOW('W', 42, u_int)
* program calls WDIOCPATPAT again before the timer expires
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7895.1059632052>
