From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 06:07:03 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A58B16A4BF; Mon, 8 Sep 2003 06:07:03 -0700 (PDT) Received: from shaft.techsupport.co.uk (shaft.techsupport.co.uk [212.250.77.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0006E43FE3; Mon, 8 Sep 2003 06:06:59 -0700 (PDT) (envelope-from setantae@submonkey.net) Received: from pc3-cdif2-5-cust222.cdif.cable.ntl.com ([81.101.152.222] helo=shrike.submonkey.net ident=mailnull) by shaft.techsupport.co.uk with esmtp (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.22) id 19wLjO-0000sG-Lr; Mon, 08 Sep 2003 14:06:58 +0100 Received: from setantae by shrike.submonkey.net with local (Exim 4.22) id 19wLjM-0002tp-In; Mon, 08 Sep 2003 14:06:56 +0100 Date: Mon, 8 Sep 2003 14:06:56 +0100 From: Ceri Davies To: Rob Lahaye Message-ID: <20030908130656.GF364@submonkey.net> Mail-Followup-To: Ceri Davies , Rob Lahaye , freebsd-questions@FreeBSD.org, freebsd-doc@FreeBSD.org References: <3F5C3DC6.2010809@snu.ac.kr> <20030908092115.GD364@submonkey.net> <3F5C7679.1080100@snu.ac.kr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qFgkTsE6LiHkLPZw" Content-Disposition: inline In-Reply-To: <3F5C7679.1080100@snu.ac.kr> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.4i Sender: Ceri Davies cc: freebsd-doc@FreeBSD.org cc: freebsd-questions@FreeBSD.org Subject: Re: removing swap space...only by reboot? A bug? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 13:07:03 -0000 --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--