pstat / swapinfo prints wrong output

Eirik Nygaard eirikn at
Fri Jan 2 11:07:21 PST 2004

[eirik at dfbsd sys]$ swapinfo
Device          1K-blocks     Used    Avail Capacity  Type
/dev/rad0s4b       307072        0   307072     0%    Interleaved
   Where does this 'r' come from?

[eirik at dfbsd sys]$ cat /etc/fstab| grep swap
/dev/ad0s4b             none            swap    sw              0       0

I also added some small debugging to src/sys/vm/vm_swap.c:swapon(...) and
it printed /dev/ad0s4b as the device that is used as the swapon device.

Eirik Nygaard
eirikn at xxxxxxxxxxxx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: application/octet-stream
Size: 187 bytes
Desc: "Description: PGP signature"
URL: <>

More information about the Bugs mailing list