On Wed, May 26, 1999 at 07:33:57AM +0200, 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?
I have only one swap device. I got line like this (tested on two -current machines): > swapinfo Device 1K-blocks Used Avail Capacity Type /dev/(null) 82800 6144 76656 7% Interleaved I.e. all other parameters here excepting device name are right. 'systat -swap' show the same picture, i.e. "(null" as device name. Yes I rebuild everything including /var/run/dev.db -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message