Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 May 1999 02:09:14 +0400
From:      Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        current@FreeBSD.ORG
Subject:   Re: kvm_getswapinfo is broken 
Message-ID:  <199905262209.CAA01936@tejblum.dnttm.rssi.ru>
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
"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-current" in the body of the message




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