Re: A working watchdog API
From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 07/31/03
- Previous message: John-Mark Gurney: "Re: A working watchdog API"
- In reply to: John-Mark Gurney: "Re: A working watchdog API"
- Next in thread: Poul-Henning Kamp: "Re: A working watchdog API"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: John-Mark Gurney <gurney_j@efn.org> Date: Thu, 31 Jul 2003 08:14:12 +0200
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. _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: John-Mark Gurney: "Re: A working watchdog API"
- In reply to: John-Mark Gurney: "Re: A working watchdog API"
- Next in thread: Poul-Henning Kamp: "Re: A working watchdog API"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|