Subject: odd swap partition listing
To: NetBSD Help <netbsd-help@netbsd.org>
From: Colin J. Raven <colin@kozy-kabin.nl>
List: netbsd-help
Date: 11/21/2004 22:30:23
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

but....

According to *webmin* /swap is there and - although apparently not in
use currently (which in itself seems odd)  - otherwise seems perfectly
OK - as shown below:

1.	             2.                     3.           4.      5.
/       OpenBSD Unix Filesystem (ffs) 	/dev/wd0a 	Yes 	Yes
Virtual Memory 	Virtual Memory (swap) 	/dev/wd0b 	No 	Yes
/var 	OpenBSD Unix Filesystem (ffs) 	/dev/wd0f 	Yes 	Yes
/tmp 	OpenBSD Unix Filesystem (ffs) 	/dev/wd0g 	Yes 	Yes

Key:
1. Mounted as
2. Type
3. Location
4. In use?
5. Permanent?

Can anyone help me understand what's happening here, and whether there
is something I should be doing that I'm currently not?

Regards & TIA,
-Colin