From owner-freebsd-hackers Tue Dec 1 00:43:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA02713 for freebsd-hackers-outgoing; Tue, 1 Dec 1998 00:43:46 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from lorax.ubergeeks.com (lorax.ubergeeks.com [206.205.41.241]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA02708 for ; Tue, 1 Dec 1998 00:43:43 -0800 (PST) (envelope-from adrian@lorax.ubergeeks.com) Received: from localhost (adrian@localhost) by lorax.ubergeeks.com (8.8.8/8.8.8) with SMTP id DAA06102; Tue, 1 Dec 1998 03:43:19 -0500 (EST) (envelope-from adrian@lorax.ubergeeks.com) Date: Tue, 1 Dec 1998 03:43:19 -0500 (EST) From: ADRIAN Filipi-Martin Reply-To: Adrian Filipi-Martin To: Matthew Dillon cc: Dan Busarow , Eivind Eklund , hackers@FreeBSD.ORG Subject: Re: System V init (was: Linux to be deployed in Mexican schools; Where was FreeBSD?) In-Reply-To: <199812010743.XAA03898@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 30 Nov 1998, Matthew Dillon wrote: > Not to detract from the other threads I'm trying to push commits through, > but... oh damn, I just can't pass it up: Why not organize an RC system > based on the specification of a set of dependancies? > > For example, require a '#DEPENDS/RETURNS' line (or equivalent) in > the first 2 lines of each rc file. > > ---- some rc.xxx file ---- > #!/bin/sh > #DEPENDS(network,sendmail,...) RETURNS(atm) > # > ... > -------------------------- Hmmm, not compatable with anything else, and more complicated. Were order dependencies ever that hard to begin with? Sure someone has to read the manpages to know that portmapper needs to run before nfsd, but are we really solving any problems by having the system dynamiaclly determine that "yes, we still need to start portmapper before nfsd"? I'm not trying to pick on you in the above, but a lot of the justification for svr4 init/statt/stop has shifted towards being compatable with other systems like linux, solaris, etc. cheers, Adrian -- [ adrian@ubergeeks.com -- Ubergeeks Consulting -- http://www.ubergeeks.com/ ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message