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

Ceri Davies setantae at submonkey.net
Mon Sep 8 06:07:03 PDT 2003


On Mon, Sep 08, 2003 at 09:30:49PM +0900, Rob Lahaye wrote:
> 
> Ceri Davies wrote:
> > On Mon, Sep 08, 2003 at 05:28:54PM +0900, Rob Lahaye wrote:
> > 
> >>"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.
> 
> Thanks. So I'm out-of-luck with 4.8 :).

Afraid so.

> I wonder if a brief note on this could go at the end of the "adding swap space"
> section in the handbook. Something like
> 
> Removing swap space:
> 	for OSversion <= 5.0 only reboot can do
>         otherwise swapctl command does it on a running system.

Already added to the todo list ;)

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/25df293f/attachment.bin


More information about the freebsd-questions mailing list