pstat / swapinfo prints wrong output

Eirik Nygaard eirikn at kerneled.com
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
Attachment:
pgp00000.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: application/octet-stream
Size: 187 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20040102/1fe06a24/attachment-0021.obj>


More information about the Bugs mailing list