From owner-freebsd-current Wed Feb 4 09:17:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA20638 for current-outgoing; Wed, 4 Feb 1998 09:17:59 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from foxdev.parker.net (foxdev.parker.net [206.14.52.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA20622 for ; Wed, 4 Feb 1998 09:17:44 -0800 (PST) (envelope-from jas@flyingfox.com) Received: (from jas@localhost) by foxdev.parker.net (8.8.5/8.8.5) id KAA28165; Wed, 4 Feb 1998 10:21:45 GMT Date: Wed, 4 Feb 1998 10:21:45 GMT From: Jim Shankland Message-Id: <199802041021.KAA28165@foxdev.parker.net> To: abial@nask.pl, current@FreeBSD.ORG Subject: Re: Custom init(8) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe current" > For all of you who want only to remind me of existence of > /usr/src/sbin/init.c: please talk to /dev/null ... > > Sorry, but this really doesn't help me to know how _the simplest_ possible > init(8) could look like... It really depends on what you want to do. The simplest possible init is: main() { while (1) ; } You have two choices: either start with /usr/src/sbin/init.c, and rip out the stuff you don't want; or start with the above template, and add the stuff you *do* want. Jim Shankland Flying Fox Computer Systems, Inc.