"Andrey A. Chernov" <a...@nagual.pp.ru> writes:
> 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

Other interesting swapinfo(8) behaviour:

root(yeshs-3)--# uname -a
FreeBSD yeshs-3.yes.no 3.1-19990505-STABLE FreeBSD 3.1-19990505-STABLE #1: Wed 
May 19 01:13:59 CEST 1999     r...@yeshs-3.yes.no:/usr/src/sys/compile/YESHS  
i386
root(yeshs-3)--# swapinfo
Device      1K-blocks     Used    Avail Capacity  Type
/dev/od0b      524288        0   524160     0%    Interleaved
/dev/da1b      524288        0   524160     0%    Interleaved
/dev/da2b      524288        0   524160     0%    Interleaved
Total         1572480        0  1572480     0%

(before you ask - no, this machine does *not* swap to a magneto-
optiocal disk, and magneto-optical devices aren't named od any more)

DES
-- 
Dag-Erling Smorgrav - d...@flood.ping.uio.no


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to