From owner-freebsd-current Sun Jan 24 13:31:31 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA21942 for freebsd-current-outgoing; Sun, 24 Jan 1999 13:31:31 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA21937 for ; Sun, 24 Jan 1999 13:31:30 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id NAA01138; Sun, 24 Jan 1999 13:30:40 -0800 (PST) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma001132; Sun, 24 Jan 99 13:30:38 -0800 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id NAA21377; Sun, 24 Jan 1999 13:30:37 -0800 (PST) From: Archie Cobbs Message-Id: <199901242130.NAA21377@bubba.whistle.com> Subject: Re: kvm question In-Reply-To: from Julian Elischer at "Jan 24, 99 12:52:30 pm" To: julian@whistle.com (Julian Elischer) Date: Sun, 24 Jan 1999 13:30:37 -0800 (PST) Cc: wollman@khavrinen.lcs.mit.edu, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Julian Elischer writes: > As soon as someone modifies sysctl to work with KLD modules.... > that would be a reasonable suggestion > > On Sun, 24 Jan 1999, Garrett Wollman wrote: > > > I ran into an interesting problem in the process of modifying > > > "netstat" to understand the PF_NETGRAPH protocol family. "netstat" > > > uses kvm_read(), etc. to read kernel symbols. However, this doesn't > > > > Don't do that. Use sysctl, that's what it's there for. > > > > -GAWollman Julian is of course correct... but Garrett you missed my point... Forget netstat for a second. The question is simply, "I'm offering to fix libkvm to understand KLD modules; is anybody interested?" Whether libkvm should even exist in a perfect world (it shouldn't) is an entirely different question. For now, we're stuck with it until somebody changes *everything* to use sysctl instead. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message