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

Re: pstat / swapinfo prints wrong output


From: David Rhodus <drhodus@xxxxxxxxx>
Date: Fri, 2 Jan 2004 14:19:23 -0500

Thats a little odd as I'm not seeing that on any of my machines
with various different source dates...

-DR

client-196# swapinfo
Device 1K-blocks Used Avail Capacity Type
/dev/ad0s1b 3145600 0 3145600 0% Interleaved
client-196# uname -a
DragonFly client-196.catpa.lex 1.0-CURRENT DragonFly 1.0-CURRENT #589: Wed Dec 31 11:00:08 EST 2003 drhodus@xxxxxxxxxxxxxxxxxxxx:/usr/src/sys/compile/GENERIC i386
client-196#


opteron# swapinfo
Device 1K-blocks Used Avail Capacity Type
/dev/ad0s1b 1032520 112 1032408 0% Interleaved
opteron# uname -a
DragonFly opteron.box.mil 1.0-CURRENT DragonFly 1.0-CURRENT #216: Tue Dec 30 22:19:23 EST 2003 root@xxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/GENERIC i386
opteron#


machdep# swapinfo
Device 1K-blocks Used Avail Capacity Type
/dev/twed1s1b 4194176 13308 4180868 0% Interleaved
machdep# uname -a
DragonFly machdep.com 1.0-CURRENT DragonFly 1.0-CURRENT #5: Tue Nov 25 16:15:26 EST 2003 root@xxxxxxxxxxx:/usr/src/sys/compile/GENERIC i386
machdep#


On Jan 2, 2004, at 2:07 PM, Eirik Nygaard wrote:

[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




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