Date: Thu, 03 Jul 2003 14:21:30 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: Florian Smeets <flo@kasimir.com> Cc: Nate Lawson <nate@root.org> Subject: Re: [acpi-jp 2382] Re: Updated ec-burst.diff patch Message-ID: <XFMail.20030703142130.jhb@FreeBSD.org> In-Reply-To: <3F046BB1.5080800@kasimir.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03-Jul-2003 Florian Smeets wrote: > Nate Lawson wrote: >> On Thu, 3 Jul 2003, John Baldwin wrote: >> >>>On 03-Jul-2003 Nate Lawson wrote: >>> >>>>On Thu, 3 Jul 2003, M. Warner Losh wrote: >>>> >>>>>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? >>> >>>Cause you can't set sysctl's from the loader, only tunables? Are you >>>going to duplicate the entire kernel environment from 'kenv' in >>>sysctl? >> >> >> Ah, I thought the two had been merged such that you could do that. > > You can set sysctls from loder.conf. I just checked it to be shure. You cannot. Many sysctl's have a loader tunable that mirrors them, but not all. Try setting debug.dir_entry from the loader. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030703142130.jhb>
