From owner-freebsd-current Wed Feb 4 02:08:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA23807 for current-outgoing; Wed, 4 Feb 1998 02:08:25 -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 CAA23788 for ; Wed, 4 Feb 1998 02:08:21 -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 LAA17925 for ; Wed, 4 Feb 1998 11:11:01 +0100 (CET) Date: Wed, 4 Feb 1998 11:11:01 +0100 (CET) From: Andrzej Bialecki To: freebsd-current@FreeBSD.ORG Subject: Custom init(8) 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" Hi! 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. Basically, I want it to mount local disks and start a few shells on vty's. Thus far I managed to get "panic: init died" from my first (and probably too naive) tests... Can you give me some advice (except 'man init')? Perhaps some pointers to a code examples... Thanks. 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. ---------------------+---------------------------------------------------------