From owner-freebsd-current Wed Feb 4 09:02:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA16948 for current-outgoing; Wed, 4 Feb 1998 09:02:54 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA16939 for ; Wed, 4 Feb 1998 09:02:48 -0800 (PST) (envelope-from abial@korin.warman.org.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.8.8/8.8.5) with SMTP id SAA19868; Wed, 4 Feb 1998 18:04:30 +0100 (CET) Date: Wed, 4 Feb 1998 18:04:29 +0100 (CET) From: Andrzej Bialecki To: John Polstra cc: abial@nask.pl, current@FreeBSD.ORG Subject: Re: Custom init(8) In-Reply-To: <199802041649.IAA02912@austin.polstra.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe current" On Wed, 4 Feb 1998, John Polstra wrote: > In article , > Andrzej Bialecki wrote: > > > I'd like to write my own custom init. To be frank, I'm not quite aware of > > what is absolutely necessary for it to do, and what is not. > [...] > > Can you give me some advice (except 'man init')? Perhaps some pointers to > > a code examples... > > /usr/src/sbin/init/init.c ;-) Okay. I got what I deserved for asking too simple questions... :-/ 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... Andrzej Bialecki ---------------------+--------------------------------------------------------- abial@warman.org.pl | if(halt_per_mth > 0) { fetch("http://www.freebsd.org") } Research & Academic | "Be open-minded, but don't let your brains to fall out." Network in Poland | All of the above (and more) is just my personal opinion. ---------------------+---------------------------------------------------------