From owner-freebsd-questions Thu Jul 27 17: 4:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 6B7E637B5E5 for ; Thu, 27 Jul 2000 17:04:11 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.15 #1) id 13HwBx-0009ll-00; Thu, 27 Jul 2000 23:31:49 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.15 #1) id 13HwBw-000DII-00; Thu, 27 Jul 2000 23:31:48 +0100 Date: Thu, 27 Jul 2000 23:31:48 +0100 From: Ben Smithurst To: Ariel Burbaickij Cc: Alfred Perlstein , questions@FreeBSD.ORG Subject: Re: How to extend swap ? Message-ID: <20000727233148.N59315@strontium.scientia.demon.co.uk> References: <20000727131520.C17222@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> * Ariel Burbaickij [000727 11:53] wrote: >>> I plan to upgrade my system to 128M , currently i have 128M of swap and >>> would extend it it is enabled by the fact that i have rather many unused >>> >>> place in my /usr and /home partion. How to do it ? Does parted work under >>> fbsd ? > Thank you but as far as I can remember I have not asked whether is it > possible to swap to a file but rather if is it possible to extend swap > partition. You asked if it was possible to "extend it", "it" referring to "128M of swap". Adding a swapfile will do this, and you made no mention of the word "partition" in your post. Even if you had said that, the answer would be "no" and so Alfred's answer was more useful anyway. > 1)>How to specify the maximal size of the swap file ? The maximum size is whatever size the file is to start with, AFAIK. The swap file won't be extended. Just use "dd" to get the right size like the other poster suggested. -- Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D FreeBSD Documentation Project / To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message