Subject: Re: Unmount tmpfs before removing swap?
To: None <>
From: Steinar Hamre <>
List: current-users
Date: 11/30/2005 12:05:13 (Michael van Elst) writes:

> On shutdown however we do:
> swap1                   remove swap from block devices

Why?  Doing this at shutdown makes no sense to me.
It *anything* using swap is left, it may be costly, or even harmful.

There is no consistency to care for on swap. Crashdumps are the only
thing swap may be used for when going down, but rc.d won't be used
anyway if there is a panic.

It seems FreeBSD is *not* removing swap from block devices at shutdown.