Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 1999 11:22:20 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        mike@smith.net.au (Mike Smith)
Cc:        current@FreeBSD.ORG
Subject:   Re: kvm question
Message-ID:  <199901231922.LAA18494@bubba.whistle.com>
In-Reply-To: <199901231655.IAA00613@dingo.cdrom.com> from Mike Smith at "Jan 23, 99 08:55:53 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901231922.LAA18494>