From owner-freebsd-current Fri Mar 1 2:32:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from hal-1.inet.it (hal-1.inet.it [213.92.5.20]) by hub.freebsd.org (Postfix) with ESMTP id 0BC9537B405 for ; Fri, 1 Mar 2002 02:32:27 -0800 (PST) Received: (from root@localhost) by hal-1.inet.it (8.11.1/8.11.1) id g21AWPv385446 for ; Fri, 1 Mar 2002 11:32:25 +0100 Received: from acampi.inet.it(213.92.1.165) by hal-1.inet.it via I-SMTP-4.0.5-100 id s-213.92.1.165-ExJvty; Fri Mar 1 11:32:25 2002 Received: from webcom.it (brian.inet.it [213.92.1.190]) by acampi.inet.it (Postfix) with SMTP id B4EC71554D for ; Fri, 1 Mar 2002 11:32:24 +0100 (CET) Received: (qmail 3534 invoked by uid 1000); 1 Mar 2002 10:32:24 -0000 Date: Fri, 1 Mar 2002 11:32:23 +0100 From: Andrea Campi To: Mike Makonnen Cc: obrien@freebsd.org, cjclark@alum.mit.edu, current@freebsd.org Subject: Re: NetBSD-style rc.d Project -- What I have so far... Message-ID: <20020301103223.GA1571@webcom.it> References: <20020226051811.K52727@blossom.cjclark.org> <1014914374.816.53.camel@blackbox.pacbell.net> <20020228092311.A25539@dragon.nuxi.com> <1014958059.2899.189.camel@blackbox.pacbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1014958059.2899.189.camel@blackbox.pacbell.net> User-Agent: Mutt/1.3.27i X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Let's take another example. The REQUIREMENT line in a script cannot be > made conditional. It requires a modification of rcorder(8) to do so. > So, if one of NetBSD's services has a requirement that we don't have, it > automatically means we need two separate scripts with different > REQUIREMENT lines regardless of whether the rest of the script is > identical. BTW, from a quick glance at the rcorder(8) source, modifying > it to eliminate this problem is not going to be a trivial task. [...] > - I think on some things, the two projects may "agree to > disagree" on, which means the majority of the code base > will probably be 'identical', but there will be differences > in things like, boot order, requirements, etc. What we should probably do is, have mostly identical infrastructure; after that, if the scripts differ mostly in requirements, boot orders etc, this is going to be very clear from any diff. If we have the NetBSD scripts committed and the we only change these variables, it's going to be very clear what we changed and why. Please also note that, after your work is done, I plan on trying to modify it based on Mac OS X startup scripts. I feel OS X is going to be a much bigger player than *BSD, so it would make sense for both us and NetBSD to converge on that "standard". I think this change could easily be integrated into the NetBSD startup scripts. Bye, Andrea -- The three Rs of Microsoft support: Retry, Reboot, Reinstall. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message