From owner-freebsd-current Thu Feb 28 19:35:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id 5811637B417 for ; Thu, 28 Feb 2002 19:35:51 -0800 (PST) Received: from blackbox.pacbell.net ([64.166.86.176]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GS900G4DZBQD4@mta6.snfc21.pbi.net> for current@freebsd.org; Thu, 28 Feb 2002 19:35:51 -0800 (PST) Received: (from mikem@localhost) by blackbox.pacbell.net (8.11.6/8.11.6) id g213Zsp03395; Thu, 28 Feb 2002 19:35:54 -0800 Date: Thu, 28 Feb 2002 19:35:53 -0800 From: Mike Makonnen Subject: Re: NetBSD-style rc.d Project -- What I have so far... In-reply-to: <3C7E6299.5A7189D8@mindspring.com> To: Terry Lambert Cc: current@freebsd.org, cjclark@alum.mit.edu Message-id: <1014953754.2899.112.camel@blackbox.pacbell.net> MIME-version: 1.0 X-Mailer: Evolution/1.0.2 Content-type: text/plain Content-transfer-encoding: 7BIT References: <20020226051811.K52727@blossom.cjclark.org> <1014914374.816.53.camel@blackbox.pacbell.net> <3C7E6299.5A7189D8@mindspring.com> X-Authentication-warning: blackbox.pacbell.net: mikem set sender to mike_makonnen@yahoo.com using -f 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 On Thu, 2002-02-28 at 09:02, Terry Lambert wrote: > Thanks for the hard work, Mike! > Thanks, nice to know someone appreciates it. Every one has their own ideas about how it _should_ be done, so I expected I'd get flamed for not pleasing everyone. OTOH it's been less than 24 hours since I posted it, maybe I should wait a couple more days :-) > You could handle most of this using something like: > > rc.bsd: > # Normalize difference between BSD's > # > # This is the FreeBSD version > # > SYSCTL_W="sysctl" > FOOARGS="-t -U" > > > # Normalize difference between BSD's > # > # This is the NetBSD version > # > SYSCTL_W="sysctl -w" > FOOARGS"-u" > I understand what you're saying, but my problem is with the larger issue of making the startup scripts more complex (even though the reason for introducing a new rc system is to make them simpler) when the right thing to do, IMO, is to make the rest of the system more compatible so that the startup scripts can be simpler. > > Yes, but the person who does the work is always the ultimate > arbiter of how it gets done. > > One of my professors was fond of reformulating Occam's Razoer > as "Anything that works is better than anything that doesn't". Ha ha! I like that one. I'll have to remember it the next time I'm thinking of all those unfinished projects I have sitting in the back of my mind. cheers, mike makonnen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message