From owner-freebsd-multimedia Tue May 19 14:59:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA26331 for freebsd-multimedia-outgoing; Tue, 19 May 1998 14:59:00 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA26310; Tue, 19 May 1998 14:58:54 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id NAA00492; Tue, 19 May 1998 13:52:41 -0700 (PDT) Message-Id: <199805192052.NAA00492@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Garrett Wollman cc: Joao Carlos Mendes Luis , 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 In-reply-to: Your message of "Tue, 19 May 1998 12:13:08 EDT." <199805191613.MAA20615@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 19 May 1998 13:52:41 -0700 From: Mike Smith Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > 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