Date: Tue, 2 Nov 1999 13:42:33 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Garance A Drosihn <drosih@rpi.edu> Cc: Doug Barton <Doug@gorean.org>, freebsd-current@FreeBSD.ORG Subject: Re: minor heads up - /etc/make.conf{,.local} being moved Message-ID: <199911022142.NAA52978@apollo.backplane.com> References: <199910271928.MAA35915@apollo.backplane.com> <381F1722.3F85DA1@simplenet.com> <199911021703.JAA51793@apollo.backplane.com> <381F1B08.AF4E0585@gorean.org> <v04210101b444d65d9d36@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
: :At 9:10 AM -0800 11/2/99, Doug Barton wrote: :>Matthew Dillon wrote: :> > I think it is necessary to make it exit for now, because what we are :> > really doing is a net-0 gain in files... turning what used to be :> > functionality in /etc/make.conf.local into /etc/make.conf. The :> > intent is not to add a third file. :> :> Ok, well put me on record as wanting three files. : :Sounds like it would be fine to have three files, you just shouldn't :use /etc/make.conf.local as the name of that third file. Your site's :own /etc/make.conf (with "local to your site" changes) could include :logic to pick up "machine-specific" settings via some other filename. :Maybe /etc/make.conf.hostname, or /etc/hostdefs/make.conf : :I'm not quite sure what filename is best, I'm just saying that you :should be able to get the flexibility you want even though we "choke" :on /etc/make.conf.local (just to catch those people who don't realize :these first two files have been moved around) : :--- :Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Yes, precisely. What I do for site distribution is have a /conf directory hierarchy. The machine autoconfigures itself by any number of means to determine which subdirectory to use and creates a softlink /conf/ME which points to the subdirectory, /conf/<hostname-or-whatever>. All the major files in /etc then become softlinks to /conf/ME/<filename>. For make.conf, a three-file version would have /etc/defaults/make.conf, /etc/make.conf which contains the installation-wide parameters, and it would include /conf/ME/make.conf for the platform-specific parameters. And there you have it... -Matt Matthew Dillon <dillon@backplane.com> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911022142.NAA52978>