From owner-freebsd-hackers Wed Dec 27 15:13:10 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA24496 for hackers-outgoing; Wed, 27 Dec 1995 15:13:10 -0800 (PST) Received: from mailgate.ericsson.se (mailgate.ericsson.se [130.100.2.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA24491 for ; Wed, 27 Dec 1995 15:13:07 -0800 (PST) Received: from sa.erisoft.se (epls01.sa.erisoft.se [150.132.128.1]) by mailgate.ericsson.se (8.6.11/1.0) with SMTP id AAA16807 for ; Thu, 28 Dec 1995 00:13:05 +0100 Received: from sws021.sa.erisoft.se by sa.erisoft.se (4.1/SMI-4.1-ERIS0.99) id AA26242; Thu, 28 Dec 95 00:13:05 +0100 From: Mattias.Gronlund@sa.erisoft.se (Mattias Gronlund) Received: by sws021.sa.erisoft.se (5.x/client-1.3) id AA04736; Thu, 28 Dec 1995 00:12:31 +0100 Message-Id: <9512272312.AA04736@sws021.sa.erisoft.se> Subject: sysctl interface To: freebsd-hackers@FreeBSD.org Date: Thu, 28 Dec 1995 00:12:30 +0100 (MET) X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org Precedence: bulk Hi, I now have installed 2.2-current as of 22-december and I found out that kern_sysctl.c have gone thew a lot of changes, and that have given me a question: There's some new interfaces in the sysctl MIB that's not documented but there is a comment that says: /* * "Staff-functions" * * These functions implement a presently undocumented interface * used by the sysctl program to walk the tree, and get the type * so it can print the value. * This interface is under work and consideration, and should probably * be killed with a big axe by the first person who can find the time. * (be aware though, that the proper interface isn't as obvious as it * may seem, there are various conflicting requirements. * * {0,0} printf the entire MIB-tree. * {0,1,...} return the name of the "..." OID. * {0,2,...} return the next OID. * {0,3} return the OID of the name in "new" * {0,4,...} return the kind & format info for the "..." OID. */ I guess there is some essential things that isn't working (0.4.hw.devconf.x for example), is there any ongoing work or any forum where this is discussed? /Mattias