On Wed, Oct 17, 2007 at 05:00:33PM -0700, John-Mark Gurney wrote: > > Why not to put them under DEVFS like /dev/sensors/* ? They are devices > > after all. I agree that putting devices under sysctl.* is bad idea. > > a) How does a userland driver present a DEVFS/device instance? > > b) For exporting a simple integer, sysctl makes more sense than the > device interface. (I'm not getting into naming the sysctl node, or > where it should be located.)
Your a) and b) are in logical conflict. If they are only simple integers (in general sensor can be more complicated than single integer) why userland driver is ever needed? Simple daemon is enough. I think loadable kernel modules are not worse than userland drivers since can be used only by those who needs them. -- http://ache.pp.ru/ _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"