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).