Subject: Unmount tmpfs before removing swap?
To: None <current-users@netbsd.org>
From: Magnus Henoch <mange@freemail.hu>
List: current-users
Date: 11/27/2005 22:02:24
Yesterday I shut down my computer.  I had a tmpfs mounted on /tmp, and
it held so much data that it wouldn't fit in physical memory.  Thus,
when the shutdown scripts removed the swap partition, the kernel
started paging it all in, and eventually ran out of memory and froze.

Maybe all tmpfs systems should be unmounted before swap is removed.
(Or maybe I should just set swapoff=NO in rc.conf, as my swap is not
on RAID)

Magnus