From owner-freebsd-hackers Sun Nov 29 17:04:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA26339 for freebsd-hackers-outgoing; Sun, 29 Nov 1998 17:04:35 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cam.grad.kiev.ua (KievglavArhit-UTC-28k8.ukrtel.net [195.5.25.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA26332 for ; Sun, 29 Nov 1998 17:04:28 -0800 (PST) (envelope-from Ruslan@Shevchenko.Kiev.UA) Received: from gvinpin.grad.kiev.ua (root@gvinpin [10.0.0.32]) by cam.grad.kiev.ua (8.8.8/8.8.5) with ESMTP id CAA26550; Mon, 30 Nov 1998 02:58:59 +0200 (EET) Received: from Shevchenko.Kiev.UA ([10.0.1.99]) by gvinpin.grad.kiev.ua (8.8.7/8.8.7) with ESMTP id DAA28669; Mon, 30 Nov 1998 03:03:34 +0200 Message-ID: <36620B32.74F76F43@Shevchenko.Kiev.UA> Date: Mon, 30 Nov 1998 03:04:18 +0000 From: Ruslan Shevchenko Reply-To: rssh@grad.kiev.ua X-Mailer: Mozilla 4.07 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: Greg Lehey CC: rssh@grad.kiev.ua, Adrian Filipi-Martin , dyson@iquest.net, wes@softweyr.com, tlambert@primenet.com, hackers@FreeBSD.ORG Subject: Re: System V init (was: Linux to be deployed in Mexican schools; Where was FreeBSD?) References: <3661E443.5E392E32@Shevchenko.Kiev.UA> <19981130111623.E831@freebie.lemis.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote: > OK, but you can do this in System V as well. I still haven't seen > anything that explains what System V init will do (and BSD init won't) > that we need to implement automatic startup and stopping of > subsystems. > on SYSV I can say init "run-level-less-than-database" init "normal-run-level" and sybsystems whill be closed and started up in stack order. And SNMP service from pevious example will work. I. e. in SYSV dependences between subsystem are implicity stored in /etc/rc dierectory tree. X depend from Y --> X must start after Y -> /etc/rc/X.rank > /etc/rc/Y.rank or if X.rank = Y.rank then S-X bigger than S-Y for FreeBSD, I think, ideally is to have explicit graph of dependences, in some form, where init-states is marks of nodes on it, and during init close all nodes which have rank biggest then argument. may be in each rc.X implement command 'depend_from' which show all programs, after restarting of ones is nessesory to restart X. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message