Date: Mon, 8 Sep 2003 14:06:56 +0100 From: Ceri Davies <setantae@submonkey.net> To: Rob Lahaye <lahaye@snu.ac.kr> Cc: freebsd-questions@FreeBSD.org Subject: Re: removing swap space...only by reboot? A bug? Message-ID: <20030908130656.GF364@submonkey.net> In-Reply-To: <3F5C7679.1080100@snu.ac.kr> References: <3F5C3DC6.2010809@snu.ac.kr> <20030908092115.GD364@submonkey.net> <3F5C7679.1080100@snu.ac.kr>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQE/XH7wocfcwTS3JF8RAlf0AKDIMi7nLOJpXgVH3yd0wqNU+VGG4gCgrqL3
Pe0m09mNBUXdS5RcFjoon1A=
=okC4
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030908130656.GF364>
