Subject: Re: odd swap partition listing
To: Dave Huang <khym@azeotrope.org>
From: Colin J. Raven <colin@kozy-kabin.nl>
List: netbsd-help
Date: 11/21/2004 23:31:51
Dave Huang responded:

> On Sun, Nov 21, 2004 at 10:30:23PM +0000, Colin J. Raven wrote:
> > Hi all!
> >
> > NetBSD-1.6.1 on Cobalt Qube2
> > 80GB H/D - 256MB RAM - 200 MHz MIPS chip
> >
> > I'm struggling to understand something that seems like an anomaly:
> >
> > According to top I have a 512MB swap partition
> > Swap: 512M Total, 512M Free
> >
> > According to df -m I'm just not sure
> > Filesystem  1M-blocks     Used     Avail Capacity  Mounted on
> > /dev/wd0a       28707      756     26515     2%    /
> > /dev/wd0f        2016        6      1909     0%    /var
> > /dev/wd0g         484        0       460     0%    /tmp
>
> Swap is a partition (at least in your configuration; it can be a file
> too), not a filesystem. Since df shows mounted filesystems, it won't
> show swap. Try "swapctl -l"
>


Device      512-blocks     Used    Avail Capacity  Priority
/dev/wd0b      1049328        0  1049328     0%    0

Looks like it's sized correctly (although top reported things rather
differently) and it's unused

Thanks Dave!!!