cvs commit: src/usr.sbin/config config.y lang.l src/sys/conf makeLINT.mk makeLINT.sed src/sys/alpha/conf Makefile src/sys/i386/conf Makefile NOTES src/sys/pc98/conf Makefile NOTES src/sys/sparc64/conf Makefile NOTES

Robert Watson rwatson at FreeBSD.org
Fri Jun 17 15:27:01 GMT 2005


On Wed, 26 Feb 2003, Ruslan Ermilov wrote:

>  Implemented "nooption" and "nomakeoption" config(8) tokens.
>  Fixed memory leak in the "nodevice" option implementation.

I've found 'nooption' an incredibly useful entry for kernel configuration 
files, as it makes maintaining incremental kernel configurations much 
easier.  However, one of the problems I bump into every now and then is 
that, unlike the 'options' parameter, 'nooptions' performs no validation 
of its argument.  I spent an hour or two this morning trying to track down 
what appeared to be a 4% performance regression, only to discover that my 
configuration file included "nooptions INVARIANTS_SUPPORT" instead of 
"nooptions INVARIANT_SUPPORT".  Checking that the argument is a valid 
option, for some useful definition of valid, would be very helpful...

Thanks,

Robert N M Watson


More information about the cvs-src mailing list