Subject: Re: odd swap partition listing
To: Colin J. Raven <colin@kozy-kabin.nl>
From: Dave Huang <khym@azeotrope.org>
List: netbsd-help
Date: 11/21/2004 16:24:22
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"
-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym@azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 29 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++