Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 1999 23:38:38 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        sheldonh@uunet.co.za (Sheldon Hearn)
Cc:        ache@nagual.pp.ru (Andrey A. Chernov), current@FreeBSD.ORG
Subject:   Re: kvm_getswapinfo is broken
Message-ID:  <199905260538.XAA08124@panzer.plutotech.com>
In-Reply-To: <83379.927696837@axl.noc.iafrica.com> from Sheldon Hearn at "May 26, 1999 07:33:57 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Sheldon Hearn wrote...
> 
> 
> 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?

{panzer:/usr/home/ken:2:0} pstat -s
Device      1K-blocks     Used    Avail Capacity  Type
/dev/(null)    327552        0   327552     0%    Interleaved
/dev/(null)    393088        0   393088     0%    Interleaved
Total          720640        0   720640     0%

That's with -current as of Friday.

Ken
-- 
Kenneth Merry
ken@plutotech.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?199905260538.XAA08124>