Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2003 10:21:15 +0100
From:      Ceri Davies <ceri@FreeBSD.org>
To:        Rob Lahaye <lahaye@snu.ac.kr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: removing swap space...only by reboot? A bug?
Message-ID:  <20030908092115.GD364@submonkey.net>
In-Reply-To: <3F5C3DC6.2010809@snu.ac.kr>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/XEoKocfcwTS3JF8RAjJ5AJ9GzzVGz9i6cqtPjSTiQ9wlHlelagCguwyw
hwnopBle9x5tzq0YfiqYH4o=
=tFyi
-----END PGP SIGNATURE-----
home | help

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