From owner-freebsd-current Sat Jan 23 11:23:18 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA05667 for freebsd-current-outgoing; Sat, 23 Jan 1999 11:23:18 -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 LAA05662 for ; Sat, 23 Jan 1999 11:23:16 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id LAA22119; Sat, 23 Jan 1999 11:22:29 -0800 (PST) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma022115; Sat, 23 Jan 99 11:22:20 -0800 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id LAA18494; Sat, 23 Jan 1999 11:22:20 -0800 (PST) From: Archie Cobbs Message-Id: <199901231922.LAA18494@bubba.whistle.com> Subject: Re: kvm question In-Reply-To: <199901231655.IAA00613@dingo.cdrom.com> from Mike Smith at "Jan 23, 99 08:55:53 am" To: mike@smith.net.au (Mike Smith) Date: Sat, 23 Jan 1999 11:22:20 -0800 (PST) Cc: 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 Mike Smith writes: > > My question is, should kvm_read() and friends be "enhanced" with > > this ability to find a symbol by searching through the loaded > > KLD modules? Seems a bit hackish, but then again so is the whole > > kvm() idea. > > No; you should be using sysctl to get at the information. Yes in *one particular application* using sysctl would be better.. but that's not the question. The question is, should this bug in libkvm be fixed? Until and unless someone is willing to convert every program that uses libkvm to use sysctl or procfs or whatever, I think this is a fair question. -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