From owner-freebsd-arch Mon Jan 15 23:12:18 2001 Delivered-To: freebsd-arch@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id DCB3D37B400 for ; Mon, 15 Jan 2001 23:11:59 -0800 (PST) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id f0G7BoZ43116; Tue, 16 Jan 2001 08:11:50 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Kirk McKusick Cc: Alfred Perlstein , arch@FreeBSD.ORG Subject: Re: dynamic vs static sysctls? In-Reply-To: Your message of "Mon, 15 Jan 2001 15:45:35 PST." <200101152345.PAA22257@beastie.mckusick.com> Date: Tue, 16 Jan 2001 08:11:50 +0100 Message-ID: <43114.979629110@critter> From: Poul-Henning Kamp Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200101152345.PAA22257@beastie.mckusick.com>, Kirk McKusick writes: > No one I know wants to use sysctl instead of getsysctlbyname afaik, > however, I would like to know if my opinions are the what we're > aiming for. > >I want >to do one call to sysctlnametomib (a new, but obviously trivial >function) to return the numeric mib, and then use that mib on all >the subsequent sysctl calls. As new-sysctl "designer" I think this is a good idea. It's a trivial thing to implement, so are there any warm and able bodies who want to try their hands at it and send the patch to me for review ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message