Subject: Re: effective configuration from config(8) after "no foo"
To: None <current-users@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: current-users
Date: 12/21/2007 10:27:59
On Thu, 20 Dec 2007, Quentin Garnier wrote:
> > When I write "no something" in my config file, I
> > don't mean "I assert that there used to be a 'something', but I'd like
> > to remove it now", I mean simply "I don't want a 'something'".
> 
> That's different.  "no nonexistent" currently fails.

Yes, I know it currently fails, but I'd like "no nonexistent" to
silently do nothing.  "no impossible", on the other hand, should
probably be an error, where "impossible" is something that doesn't have
a "device" or "attach" or other relevant declaration.

> I do wish people would start doing whatever is necessary to use
> config -L as a regression test suite builder, though, instead of feeling
> the pain of maintaining ALL, which is i386-only.

What do you suggest here?  Run "config -L std.${MACHINE} >LINT"
periodically and check in the result?

> In any case, fixing the current bug and your frustrations can probably
> be done in one go.  I'll see how I'll do it.

Thanks.

--apb (Alan Barrett)