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
ache at nagual.pp.ru
Wed Oct 17 18:26:08 PDT 2007
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).
More information about the cvs-src