Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2007 05:26:03 +0400
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        "Constantine A. Murenin" <cnst@FreeBSD.ORG>
Cc:        src-committers@FreeBSD.ORG, Alexander Leidinger <netchild@FreeBSD.ORG>, John Baldwin <jhb@FreeBSD.ORG>, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG, Poul-Henning Kamp <phk@phk.freebsd.dk>, Wilko Bulte <wb@freebie.xs4all.nl>
Subject:   Re: cvs commit: src/etc Makefile sensorsd.conf src/etc/defaults rc.conf src/etc/rc.d Makefile sensorsd src/lib/libc/gen sysctl.3 src/sbin/sysctl sysctl.8 sysctl.c src/share/man/man5 rc.conf.5 src/share/man/man9 Makefile sensor_attach.9 src/sys/conf f
Message-ID:  <20071018012602.GB82493@nagual.pp.ru>
In-Reply-To: <4716AAF2.5040209@FreeBSD.org>
References:  <f34ca13c0710161446l50deee86k3e6d6605e35a79d6@mail.gmail.com> <200710161809.10755.jhb@freebsd.org> <47153F62.1080709@FreeBSD.org> <200710170903.31724.jhb@freebsd.org> <4716AAF2.5040209@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 17, 2007 at 08:38:10PM -0400, Constantine A. Murenin wrote:
> Thus the two-layered version of the framework (sensordev/sensor) defines 
> its own namespace.  Granted, on OpenBSD this is much more valuable than it 
> is on FreeBSD, since FreeBSD already has dynamic sysctl mechanism (which is 
> quite polluted by irrelevant and unused values, IMHO). However, many people 
> are quite certain that the sensor framework is nonetheless valuable even on 
> FreeBSD, too.  It provides something that the plain FreeBSD dynamic sysctl 
> interface doesn't provide -- simplicity of use for sensor-like devices and 
> a common namespace with clearly defined restrictions.

You can't define enough level of restriction using sysctl framework, f.e. 
different permissions for different user groups. And with DEVFS it is an 
easy thing (I don't advocate for completely userland modules, kernel 
loadable modules are good enough, just dislike idea of using sysctls as 
poor man devices).

-- 
http://ache.pp.ru/



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