DragonFly BSD
DragonFly bugs List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

pstat / swapinfo prints wrong output


From: Eirik Nygaard <eirikn@xxxxxxxxxxxx>
Date: Fri, 2 Jan 2004 20:07:04 +0100

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

[eirik@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@xxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]