Re: Weird problem with devstat interface

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Tue, 28 Jun 2005 21:53:42 +0200
In message <200506281749.j5SHnPlr017616_at_quarter.csl.sri.com>, Fred Gilham write
s:

>I have been able to get the program to stop doing this by changing the
>calls to
>
>devstat_checkversion()
>devstat_getnumdevs()
>devstat_getdevs()
>
>so they don't use the kvm interface but the sysctl interface
>(i.e. passing NULL instead of a file descriptor to /dev/kvm).

You shouldn't be using the kvm interface in the first place.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_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.
Received on Tue Jun 28 2005 - 17:53:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:37 UTC