Date: Tue, 19 May 1998 13:52:41 -0700 From: Mike Smith <mike@smith.net.au> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: Joao Carlos Mendes Luis <jonny@jonny.eng.br>, hasty@rah.star-gate.com (Amancio Hasty), luigi@labinfo.iet.unipi.it, ahasty@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, roger@cs.strath.ac.uk, multimedia@FreeBSD.ORG Subject: Re: cvs commit: src/sys/pci brooktree848.c Message-ID: <199805192052.NAA00492@dingo.cdrom.com> In-Reply-To: Your message of "Tue, 19 May 1998 12:13:08 EDT." <199805191613.MAA20615@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805192052.NAA00492>