From owner-cvs-all Sat Jan 25 13:59:26 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 E292C37B401; Sat, 25 Jan 2003 13:59:24 -0800 (PST) Received: from HAL9000.homeunix.com (12-233-57-224.client.attbi.com [12.233.57.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id D37D543ED8; Sat, 25 Jan 2003 13:59:23 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id h0PLxK0A006724; Sat, 25 Jan 2003 13:59:20 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id h0PLxKdP006723; Sat, 25 Jan 2003 13:59:20 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Sat, 25 Jan 2003 13:59:20 -0800 From: David Schultz To: Matt Dillon Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/sysinstall label.c Message-ID: <20030125215919.GA6687@HAL9000.homeunix.com> Mail-Followup-To: Matt Dillon , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200301251932.h0PJWZHo054126@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301251932.h0PJWZHo054126@repoman.freebsd.org> 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 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? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message