Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Sep 2003 17:28:54 +0900
From:      Rob Lahaye <lahaye@snu.ac.kr>
To:        freebsd-questions@freebsd.org
Subject:   removing swap space...only by reboot? A bug?
Message-ID:  <3F5C3DC6.2010809@snu.ac.kr>

next in thread | raw e-mail | index | archive | help


Hi,

"man swapon" says:

BUGS
      There is no way to stop paging and swapping on a device.  It is therefore
      not possible to dismount swap devices which are mounted during system
      operation.

Is that still a bug?

------

The Handbook explains how additional swap space can be added to a running system,
without need for reboot. I have added a swap file this way.

If I want to stop using that swap file, or use another one, that is bigger, smaller or
on another partition; how should I proceed?

Is a reboot the only way to go? Or is there a run-time command that disconnects the kernel
from certain swap space and allows its removal?

Thanks,
Rob.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F5C3DC6.2010809>