loader.conf ignores setting variable ending in _type

Andrew Gallatin gallatin at cs.duke.edu
Wed Jul 22 13:29:35 UTC 2009


John Baldwin wrote:
> On Tuesday 21 July 2009 4:50:00 pm Andrew Gallatin wrote:
>> Jung-uk Kim wrote:
>>> On Tuesday 21 July 2009 04:05 pm, Jung-uk Kim wrote:
>>>>      *_type	Defines the module's type.  If none is given, it
>>>> defaults to a kld module.
>>> Actually, I wanted to quote this:
>>>
>>> loader.conf(5):
>>>
>>>     WARNING:	developers should never use these suffixes for any
>>> 		kernel environment variables (tunables) or conflicts
>>> 		will result.
>> Whoops..  Thanks for pointing that out.
> 
> Presumably we could relax that a bit and for the reserved tunables ignore 
> tunables with "." in their name.
> 

That would be nice.  But it is not a big deal to fix it in the
mxge driver by changing the tunable name (already done, actually).

Drew


More information about the freebsd-current mailing list