From owner-freebsd-current Wed Feb 4 10:14:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA02746 for current-outgoing; Wed, 4 Feb 1998 10:14:50 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA02732 for ; Wed, 4 Feb 1998 10:14:46 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id SAA18760; Wed, 4 Feb 1998 18:14:41 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id TAA20763; Wed, 4 Feb 1998 19:14:41 +0100 (MET) Message-ID: <19980204191440.01035@follo.net> Date: Wed, 4 Feb 1998 19:14:40 +0100 From: Eivind Eklund To: Andrzej Bialecki Cc: current@FreeBSD.ORG Subject: Re: Custom init(8) References: <199802041649.IAA02912@austin.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e In-Reply-To: ; from Andrzej Bialecki on Wed, Feb 04, 1998 at 06:04:29PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe current" On Wed, Feb 04, 1998 at 06:04:29PM +0100, Andrzej Bialecki wrote: > Sorry, but this really doesn't help me to know how _the simplest_ possible > init(8) could look like... You'll have to reap any zombie process in the system and not exit, and that's about it. man waitpid for details on repeaing children. Of course, you might want to start a shell or do something else useful... BTW: sysinstall (from the install floppy) is another example of an application that run as init. Eivind.