From owner-freebsd-hackers Mon May 18 11:09:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA29236 for freebsd-hackers-outgoing; Mon, 18 May 1998 11:09:39 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from aaka.3skel.com (aaka.3skel.com [207.240.212.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA29182 for ; Mon, 18 May 1998 11:09:28 -0700 (PDT) (envelope-from danj@3skel.com) Received: from fnur.3skel.com (fnur.3skel.com [192.168.0.8]) by aaka.3skel.com (8.8.5/8.8.2) with ESMTP id OAA07586; Mon, 18 May 1998 14:09:29 -0400 (EDT) Received: from localhost (danj@localhost) by fnur.3skel.com (8.8.8/8.8.2) with SMTP id OAA23006; Mon, 18 May 1998 14:09:29 -0400 (EDT) Date: Mon, 18 May 1998 14:09:29 -0400 (EDT) From: Dan Janowski To: "Jordan K. Hubbard" cc: freebsd-hackers@FreeBSD.ORG Subject: Re: system config database... In-Reply-To: <28192.895513853@time.cdrom.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 About 90% of what has to get done at startup is a simple invocation with dependancies and order being the only constraints. These can be encapsulated in a configuration. There are a few things that are too arbitrary, mostly cleanup stuff like ptmp, and vi -r. Those things seem better in their own scripts, no? For these purposes, the meta-file could call a script just as easily as anything else. Dan On Mon, 18 May 1998, Jordan K. Hubbard wrote: > > It seems that there still a need for a per service > > set of scripted instruction for startup. > > I'm not arguing that at all, I'm simply saying that the current system > needlessly separates the configuration data from the actions > associated with it. It's like having a shopping list where on one > side you have "items to get: 1, 3, 2, 6, 9 and 5" and on the other you > have "1 = milk, 2 = celery, 3 = ..." :-) > > The information needs to be combined and sh unfortunately isn't really > "expressive" enough for that - a metaformat which gets compiled into > sh or is even run by some sort of helper program, e.g. /etc/rc becomes > a one liner: > > /sbin/systemrc /etc/rc.sys > > > An /etc/rc.d with mini-scripts for features. Some > > Ick, no, wrong direction again! ;-) > -- danj@3skel.com Dan Janowski Triskelion Systems, Inc. Bronx, NY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message