From owner-cvs-all Sat Jan 25 17:31:28 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5281337B401; Sat, 25 Jan 2003 17:31:27 -0800 (PST) Received: from sydney.lemis.com (dhcp80.trinity.linux.conf.au [130.95.169.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3627A43F13; Sat, 25 Jan 2003 17:31:26 -0800 (PST) (envelope-from grog@sydney.worldwide.lemis.com) Received: from sydney.worldwide.lemis.com (grog@localhost [127.0.0.1]) by sydney.lemis.com (8.12.6/8.12.6) with ESMTP id h0Q1VO4c003791; Sun, 26 Jan 2003 09:31:24 +0800 (WST) (envelope-from grog@sydney.worldwide.lemis.com) Received: (from grog@localhost) by sydney.worldwide.lemis.com (8.12.6/8.12.6/Submit) id h0Q1VOfU003790; Sun, 26 Jan 2003 09:31:24 +0800 (WST) Date: Sun, 26 Jan 2003 09:31:24 +0800 From: Greg Lehey To: Matt Dillon , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/sysinstall label.c Message-ID: <20030126013124.GD3641@sydney.worldwide.lemis.com> References: <200301251932.h0PJWZHo054126@repoman.freebsd.org> <20030125215919.GA6687@HAL9000.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030125215919.GA6687@HAL9000.homeunix.com> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Saturday, 25 January 2003 at 13:59:20 -0800, David Schultz wrote: > Thus spake Matt Dillon : >> dillon 2003/01/25 11:32:35 PST >> >> Modified files: >> usr.sbin/sysinstall label.c >> Log: >> Change the nominal swap calculation from 1/2 physical memory to 1/8 >> physical memory. The default is still 2x physical memory. The nominal >> calculation is used to back-off swap auto-allocation ('A'uto command) >> when the disk is not large enough to accomodate all filesystem auto-defaults. >> This gives other partitions (like /usr) more priority over swap on smaller >> disks. >> >> This should help solve reported auto-sizing failures on machines with small >> hard drives and huge amounts of memory. For example, a machine with 2G of >> disk and 4G of memory will fail to auto-size without this fix. > > While you're at it, could you see if you can fix the problem where > sysinstall refuses to install if no swap partition is specified at > all? I second this. There are cases where you're installing a second FreeBSD system on a disk, and there's a swap partition on another slice. Currently there's no way to tell sysinstall to use this partition, and if you can't defer it until later because sysinstall refuses to install without swap. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message