Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2003 02:41:11 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Mike Barcroft <mike@FreeBSD.org>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: config(8) should check if a scheduler is selected
Message-ID:  <20030420022510.O16869@gamplex.bde.org>
In-Reply-To: <20030419113436.C8793@espresso.bsdmike.org>
References:  <200304182047.h3IKlhIZ000817@number6.magda.ca> <20030419165033.V15269@gamplex.bde.org> <20030419113436.C8793@espresso.bsdmike.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 19 Apr 2003, Mike Barcroft wrote:

> Bruce Evans <bde@zeta.org.au> writes:
> > It is the only mandatory option (sic).  Kernels with no options (although
    [SCHED_4BSD/SCHED_ULE]
> > they might not be useful) can be built except for this bug.  Example of
>
> Since all `options' are optional, maybe `sched' should be its own
> directive with two possible values: `4BSD' or `ULE'.

This would only be a name change since you would still have to set it.
I want defaults for "standard" options like this with a way to override
them.  A defaults file could be included to get the defaults (after fixing
the bugs in the include directive).  Then it there should be a cleaner
way of overriding the options than this current way:

options 	SCHED_4BSD	# Default (from include file).
#nooptions 	SCHED_4BSD	# Have to know name of old opt to turn it off.
nooption 	SCHED_4BSD	# Actual spelling of directive is astonishing.
options 	SCHED_ULE	# Set new option.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030420022510.O16869>