From owner-cvs-sbin Fri Jul 4 16:57:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA14022 for cvs-sbin-outgoing; Fri, 4 Jul 1997 16:57:03 -0700 (PDT) Received: from lsd.relcom.eu.net (lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA13948; Fri, 4 Jul 1997 16:55:14 -0700 (PDT) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.6/8.8.5) id DAA22966; Sat, 5 Jul 1997 03:55:11 +0400 (MSD) Date: Sat, 5 Jul 1997 03:55:11 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: "Daniel O'Callaghan" 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, Daniel O'Callaghan wrote: > 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 It does no harm, they would be killed by TERM. > processes being watched, rather than reading from /etc/ttys? What you mean by "being watched"? Init watch only getty lines and _not_ watch pty lines, it is why /etc/ttys used instead of init internal list. Retrieving full list of processes with control tty envolve bloating init with kvm stuff which is not acceptable. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/