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>
next in thread | previous in thread | raw e-mail | index | archive | help
--qFgkTsE6LiHkLPZw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 08, 2003 at 09:30:49PM +0900, Rob Lahaye wrote: >=20 > Ceri Davies wrote: > > On Mon, Sep 08, 2003 at 05:28:54PM +0900, Rob Lahaye wrote: > >=20 > >>"man swapon" says: > >> > >>BUGS > >> There is no way to stop paging and swapping on a device. It is=20 > >> therefore > >> not possible to dismount swap devices which are mounted during sys= tem > >> operation. > >> > >>Is that still a bug? > >=20 > >=20 > > 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 h= as > > the swapctl command which does what you want. >=20 > 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 >=20 > Removing swap space: > for OSversion <=3D 5.0 only reboot can do > otherwise swapctl command does it on a running system. Already added to the todo list ;) Ceri --=20 User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR? Iniaes: Sure, I can accept all forms of payment. -- www.chatterboxchallenge.com --qFgkTsE6LiHkLPZw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/XH7wocfcwTS3JF8RAlf0AKDIMi7nLOJpXgVH3yd0wqNU+VGG4gCgrqL3 Pe0m09mNBUXdS5RcFjoon1A= =okC4 -----END PGP SIGNATURE----- --qFgkTsE6LiHkLPZw--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030908130656.GF364>