> > While I'm here, I'd like to note that sysctl is somewhat like SNMP,
> > and SNMP variables have a unit name as this small extract from a
> > snmpwalk shows.
> > Things that have the notion of units should reflect this in its
> > sysctl, even if 99.999% of people only have one of those interfaces.
> I strongly disagree. Devices that have a notion of units should export
> a unit-based interface in the filesystem (i.e., /dev/foo999). sysctl
> is very much unsuited to this. (I'm still unhappy about the way I had
> to kluge things for the ifmib. At least it works...)
It's debatable as to whether the MIB should exist in the filespace, but
note that it is actually quite trivial to export stuff in this fashion
using sysctl, as it supports handing traversal off to a client-supplied
traversal routine at any level.
\\ Sometimes you're ahead, \\ Mike Smith
\\ sometimes you're behind. \\ email@example.com
\\ The race is long, and in the \\ firstname.lastname@example.org
\\ end it's only with yourself. \\ email@example.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message