From owner-freebsd-stable@FreeBSD.ORG Sun Nov 7 11:49:40 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57BB916A4CE for ; Sun, 7 Nov 2004 11:49:40 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1528543D3F for ; Sun, 7 Nov 2004 11:49:36 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id iA7BnWsn052511; Sun, 7 Nov 2004 22:19:32 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Sun, 7 Nov 2004 22:19:30 +1030 User-Agent: KMail/1.7 References: <418DFD15.2010409@yahoo.com> In-Reply-To: <418DFD15.2010409@yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart13749054.JJlMn8Tt8F"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200411072219.30919.doconnor@gsoft.com.au> X-Spam-Score: -2.5 () IN_REP_TO,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_02_03,USER_AGENT X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: Rob Subject: Re: using only swap file without swap partition: OK? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 11:49:40 -0000 --nextPart13749054.JJlMn8Tt8F Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sun, 7 Nov 2004 21:16, Rob wrote: > With 5.3 it has become much easier to add swap as a regular file, > remove it later, or add a bigger or smaller one instead. > > The swap partition always causes me little headache: once the > size is choosen at partitioning during install, it's fixed. > I can't size it up or down anymore, unless I go fiddling with > the partition table, which I desperately like to avoid. > > So, why not using swapfile without swap partition at all. > Have it on a big partition with lots of space. If there's a > problem with the space, I can easily move the swap elsewhere. > A swapfile is so much more flexible. > > Is there a downside of not using swap partition, and have only > swapfile instead? You can't save crash dumps, and it is less efficient. In general you don't need much swap if you have a reasonable amount of RAM,= so=20 it's not usually necessary to resize your swap when you get more RAM (unles= s=20 you want to save crashdumps..) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart13749054.JJlMn8Tt8F Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBjgvK5ZPcIHs/zowRAks1AJ9U0WoPgurIvtoXf10kqMpaWrNvtwCghRrj lC145tMQp4M5/H97zkz0ALc= =mc5M -----END PGP SIGNATURE----- --nextPart13749054.JJlMn8Tt8F--