Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 1999 07:33:57 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        current@FreeBSD.ORG
Subject:   Re: kvm_getswapinfo is broken 
Message-ID:  <83379.927696837@axl.noc.iafrica.com>
In-Reply-To: Your message of "Wed, 26 May 1999 09:08:11 %2B0400." <19990526090810.A23737@nagual.pp.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help



On Wed, 26 May 1999 09:08:11 +0400, "Andrey A. Chernov" wrote:

> Just check 'swapinfo' in recent -current, it shows "/dev/(null)" as swap
> device, it means that devinfo() call in kvm_getswapinfo() returns NULL,
> i.e. called with wrong argument which is swinfo.sw_dev

Are you sure it isn't simply because kvm_getswapinfo is being asked for
totals, and not per-device stats? i.e: Are you getting /dev/(null) for
multiple swap devices?

Ciao,
Sheldon.


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?83379.927696837>