From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 13:20:46 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26EFD16A420 for ; Mon, 27 Feb 2006 13:20:46 +0000 (GMT) (envelope-from babkin@verizon.net) Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE87F43D46 for ; Mon, 27 Feb 2006 13:20:45 +0000 (GMT) (envelope-from babkin@verizon.net) Received: from vms071.mailsrvcs.net ([192.168.1.4]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IVC004BNL2LCUV8@vms046.mailsrvcs.net> for freebsd-hackers@freebsd.org; Mon, 27 Feb 2006 07:20:45 -0600 (CST) Date: Mon, 27 Feb 2006 07:20:45 -0600 (CST) From: Sergey Babkin To: Daniel O'Connor , Tobias Roth Message-id: <21474364.1141046445548.JavaMail.root@vms071.mailsrvcs.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Mailman-Approved-At: Mon, 27 Feb 2006 13:22:14 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: Re: unversal watchdog X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: babkin@users.sf.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 13:20:46 -0000 >From: Daniel O'Connor >On Monday 27 February 2006 22:33, Tobias Roth wrote: >> > man rc.subr plus a look through /etc/rc.d should get you started :) >> >> Can you explain in more detail how one can handle the watchdog part of >> the equation? I can't find that information in the rc.subr manpage. > >Ahh sorry I think I misunderstood the question :( > >I was thinking a program to reset a hardware watchdog timer.. > >As to answer the question - I am not aware of any facility for automatically >restarting things (unless you can get init to do it via /etc/ttys somehow) Would a port of a Linux init do ? :-) You know, it's all separate packages on Linux and there is no reason why they can't be ported and used separately. Here is the package name from RedHat: $ rpm -qf /sbin/init SysVinit-2.85-4.2 I don't know if there is a ready port but it should be not THAT difficult to do. >I don't think it would be too hard to create a shell wrapper script though >(kind of annoying I admit) Well, it's been a long story now. Every time someone comes with the idea of adding init to BSD, other people feel very strongly that they hate init and that it must not be in BSD. -SB