Date: Sun, 06 Jun 1999 20:49:57 +0400 From: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru> To: "Kenneth D. Merry" <ken@plutotech.com> Cc: alpha@FreeBSD.ORG Subject: Re: messed up swap reporting Message-ID: <199906061649.UAA01654@tejblum.dnttm.rssi.ru> In-Reply-To: Your message of "Sun, 06 Jun 1999 01:29:53 MDT." <199906060729.BAA14233@panzer.plutotech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Kenneth D. Merry" wrote: > {subway:/usr/home/ken:37:0} pstat -s > Device 1K-blocks Used Avail Capacity Type > /dev/(null) -248 -358392 358144 144513% Interleaved This phenomenon should be explained in the attached message: ------------------------------- To: "Andrey A. Chernov" <ache@nagual.pp.ru> cc: current@FreeBSD.ORG Subject: Re: kvm_getswapinfo is broken In-reply-to: Your message of "Wed, 26 May 1999 09:08:11 +0400." <19990526090810.A23737@nagual.pp.ru> Date: Thu, 27 May 1999 02:09:14 +0400 From: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru> "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 This is a known problem. It is because dev_t in kernel and dev_t and userland are now different things. This is worse on the alpha, where they also have different sizes. So, on the alpha, the numbers are broken too, not just device names. Supposedly, it will be fixed by a junior kernel hacker. Dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906061649.UAA01654>