From owner-cvs-sbin Fri Jul 4 16:53:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA13880 for cvs-sbin-outgoing; Fri, 4 Jul 1997 16:53:01 -0700 (PDT) Received: from panda.hilink.com.au (panda.hilink.com.au [203.8.15.25]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA13774; Fri, 4 Jul 1997 16:51:09 -0700 (PDT) Received: (from danny@localhost) by panda.hilink.com.au (8.8.5/8.8.5) id JAA09626; Sat, 5 Jul 1997 09:50:55 +1000 (EST) Date: Sat, 5 Jul 1997 09:50:54 +1000 (EST) From: "Daniel O'Callaghan" To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= cc: Adam David , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/init init.c In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 5 Jul 1997, =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= wrote: > On Fri, 4 Jul 1997, Adam David wrote: > > > > death: revoke all lines listed in /etc/ttys instead of sending HUP > > > to all processes > > > > This assumes /etc/ttys never changes while the system is up, which is > > not necessarily true. > > No, it not assume this. Most recent /etc/ttys used here. There is a small chance that /etc/ttys is modified, but init not HUPed before a shutdown. Would it not be more appropriate to revoke the processes being watched, rather than reading from /etc/ttys? /* Daniel O'Callaghan */ /* HiLink Internet danny@hilink.com.au */ /* FreeBSD - works hard, plays hard... danny@freebsd.org */