Re: cvs commit: src/etc/defaults rc.conf src/etc/rc.d Makefile watchdogd src/share/man/man4 Makefile watchdog.4 src/sys/conf NOTES options src/sys/kern kern_clock.c src/usr.sbin Make

From: Sean Kelly <smkelly_at_FreeBSD.org>
Date: Thu, 26 Jun 2003 13:14:02 -0500
On Thu, Jun 26, 2003 at 10:58:22AM -0700, Nate Lawson wrote:
> Looks interesting.  Could you make the reset delay a sysctl?  Then the
> user daemon could read the kernel's delay setting and adjust its poke
> routine accordingly.  Right now the sleep is hardcoded at 1 sec.  Maybe
> debug.watchdog.reset and debug.watchdog.deadline or something.

debug.watchdog.timeout actually exists. watchdogd just isn't smart enough to
read it yet. The watchdog will fire after debug.watchdog.timeout seconds.

edgemaster# sysctl debug.watchdog
debug.watchdog.enabled: 0
debug.watchdog.timeout: 20
debug.watchdog.reset: 0

-- 
Sean Kelly         | PGP KeyID: D2E5E296
smkelly_at_zombie.org | http://www.zombie.org

Received on Thu Jun 26 2003 - 11:14:04 UTC