From owner-freebsd-arch Tue Jan 16 17:30:32 2001 Delivered-To: freebsd-arch@freebsd.org Received: from smtp10.phx.gblx.net (smtp10.phx.gblx.net [206.165.6.140]) by hub.freebsd.org (Postfix) with ESMTP id 0BB7437B401; Tue, 16 Jan 2001 17:30:15 -0800 (PST) Received: (from daemon@localhost) by smtp10.phx.gblx.net (8.9.3/8.9.3) id SAA133208; Tue, 16 Jan 2001 18:30:06 -0700 Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp10.phx.gblx.net, id smtpdeScfya; Tue Jan 16 18:30:05 2001 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id SAA19626; Tue, 16 Jan 2001 18:30:12 -0700 (MST) From: Terry Lambert Message-Id: <200101170130.SAA19626@usr08.primenet.com> Subject: Re: dynamic vs static sysctls? To: msmith@FreeBSD.ORG (Mike Smith) Date: Wed, 17 Jan 2001 01:30:12 +0000 (GMT) Cc: mckusick@mckusick.com (Kirk McKusick), arch@FreeBSD.ORG In-Reply-To: <200101160727.f0G7Rss00920@mass.osd.bsdi.com> from "Mike Smith" at Jan 15, 2001 11:27:54 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I would think that this might be an issue for > > any application that uses sysctl to get/set the same information > > repeatedly. > > It is. It's also useful in the case where you use trailing fields in the > MIB to pass arguments to the sysctl handler. It's also useful for externalizing a sub-arc opaquely for standard sub-arcs. For example, the Network Interface Monitoring MIB contents, being externalized via systctl to a user space SNMP implementation, and recast in generic form, not dependent on the FrBSD OID-arc. This also has the benefit of standardizing SNMP consoles, as well as letting us standardize between BSD's, without playing "dueling OID-arc origins" (e.g. "BSDI" vs. "FreeBSD" vs. "NetBSD" vs. "XXX" is not a problem, if you can just point at an RFC and smile). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message