removing swap space...only by reboot? A bug?

Ceri Davies ceri at FreeBSD.org
Mon Sep 8 02:21:19 PDT 2003


On Mon, Sep 08, 2003 at 05:28:54PM +0900, Rob Lahaye wrote:
> 
> 
> 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?

That depends on which version you are running.
If you have 4.x or 5.0 then you're out of luck, but a recent -current has
the swapctl command which does what you want.

Ceri

-- 
User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR?
Iniaes: Sure, I can accept all forms of payment.
                                           -- www.chatterboxchallenge.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030908/e400f497/attachment.bin


More information about the freebsd-questions mailing list