From owner-freebsd-hackers Mon Nov 30 09:24:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA17407 for freebsd-hackers-outgoing; Mon, 30 Nov 1998 09:24:16 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA17402 for ; Mon, 30 Nov 1998 09:24:14 -0800 (PST) (envelope-from tlambert@usr05.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id KAA18422; Mon, 30 Nov 1998 10:24:00 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp02.primenet.com, id smtpd018390; Mon Nov 30 10:23:57 1998 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id KAA09125; Mon, 30 Nov 1998 10:23:52 -0700 (MST) From: Terry Lambert Message-Id: <199811301723.KAA09125@usr05.primenet.com> Subject: Re: System V init (was: Linux to be deployed in Mexican schools; Where was FreeBSD?) To: adrian@ubergeeks.com Date: Mon, 30 Nov 1998 17:23:52 +0000 (GMT) Cc: rssh@grad.kiev.ua, grog@lemis.com, dyson@iquest.net, wes@softweyr.com, tlambert@primenet.com, hackers@FreeBSD.ORG In-Reply-To: from "ADRIAN Filipi-Martin" at Nov 30, 98 00:01:16 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > How many run-levels are you proposing? There are only 7 standard > ones, AFIK. I cannot really see adding runlevels for each type of > subsystem a practicle. Infinity plus one? Actually, 2^(number of services) would be nice, too. Then I could specify service clusters. Of course, I'd prefer to have service clusters called out as a group using a script, but if you really want to discuss the validity of run states/levels, there are those of us who'll oblige you. > > 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 > > Every implementation I have see so far actually uses alpha-numeric > ordering. Things being implicit and scattered in varions directories is > one reason I prefer the simpler, cohesive BSD rc's. Last time I looked, the ASCII collation sequence order was explicit, not implicit... > > 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. > > I'm not really sure this sort of dynamic behavior would really be > useful. Systems tend to all boot in the same basic sequence, with soe > skipping certian subsystems that are not needed. Then don't use it. No one is forcing you, personally, away from the standard BSD all/single-user set. If you don't need a state where the system is up, but NFS isn't being served because the system is being backed up, then don't put the system into that state. Pretty simple. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message