[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-current
Subject:    Re: Updated ec-burst.diff patch
From:       Nate Lawson <nate () root ! org>
Date:       2003-07-03 17:28:02
[Download RAW message or body]

On Thu, 3 Jul 2003, M. Warner Losh wrote:
> In message: <20030701164231.M88547@root.org>
>             Nate Lawson <nate@root.org> writes:
> : On Wed, 2 Jul 2003, Florian Smeets wrote:
> : > I set hw.acpi.ec.burst_mode=0 in loader.conf but when i was trying to
> : > chek if it was set to 0 with sysctl hw.acpi.ec.burst_mode i got :
> : >
> : > flo@lappi [~] 15 #sysctl hw.acpi.ec.burst_mode
> : > sysctl: unknown oid 'hw.acpi.ec.burst_mode'
> :
> : It's a tunable, not a sysctl.  So you can only set it in loader.conf.  Are
> : there any messages when you boot with that in your loader.conf?  Would you
> : please post a separate dmesg for that case?
>
> I personally think that all tunable should be read-only (or rw if
> possible) sysctls...

I'm still not sure why we have both mechanisms.  Perhaps a useful approach
would be to sweep the tree for tunables and change them to sysctls with
appropriate permissions (read-only if in doubt).  Then remove the tunable
mechanism.  Care to put together a patch?

-Nate
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic