From owner-freebsd-small Wed Jul 26 7:36: 1 2000 Delivered-To: freebsd-small@freebsd.org Received: from lepton.subatomix.com (okc-27-143-173.mmcable.com [24.27.143.173]) by hub.freebsd.org (Postfix) with ESMTP id D271B37B720 for ; Wed, 26 Jul 2000 07:35:54 -0700 (PDT) (envelope-from jss@lepton.subatomix.com) Received: from localhost (jss@localhost) by lepton.subatomix.com (8.9.3/8.9.3) with ESMTP id JAA10750; Wed, 26 Jul 2000 09:37:38 -0500 (CDT) (envelope-from jss@lepton.subatomix.com) Date: Wed, 26 Jul 2000 09:37:38 -0500 (CDT) From: "Jeffrey S. Sharp" To: Warner Losh Cc: Neil Blakey-Milner , W Gerald Hicks , Albert Yang , freebsd-small@FreeBSD.ORG Subject: Re: The heart of the problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 25 Jul 2000, Jeffrey S. Sharp wrote: > On Tue, 25 Jul 2000, Warner Losh wrote: > > > > We'd likely be better off defining "packages" of programs in the base > > system that we can then glue together at a higher level to create the > > system that we want. This will allow a more generic mixing and > > matching of system components and allow a higher level of automation > > than we have with the current config file system. > > > > I'll be the first to admit my scripts haven't taken this step > > Mine neither. Well, I lied. My conf files are just glorified shell scripts, read by the config script with the '.' command. There's nothing stopping the use of '.' in the conf files themselves -- an include directive. So I can do the package thing (which I like; thanks for the idea). For example: . $STUFF/net-crunch.fs.inc One cool side-effect of doing packages this way is that packages can use any valid filesystem conf command, and thus can include not only programs, but files, directories, links, etc. =============================== Jeffrey S. Sharp (XorAxAx) jss@subatomix.com -----BEGIN GEEK CODE BLOCK----- Version 3.12 GCS/IT/MU d-@ s-:+ a21 C++(++++) UBL+(+++$)> P L+(+++$)> E+> W++ N+(++) o? K? w++$> !O M(-) !V PS+ PE Y PGP- t+ 5 X+ R(+) tv+ b+ DI++(+++) G++ e> h--- r+++ y+++ ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message