From owner-cvs-all Sat Jan 25 11:32:39 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 0276F37B401; Sat, 25 Jan 2003 11:32:35 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADF7C43F13; Sat, 25 Jan 2003 11:32:35 -0800 (PST) (envelope-from dillon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0PJWZbv054127; Sat, 25 Jan 2003 11:32:35 -0800 (PST) (envelope-from dillon@repoman.freebsd.org) Received: (from dillon@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0PJWZHo054126; Sat, 25 Jan 2003 11:32:35 -0800 (PST) Message-Id: <200301251932.h0PJWZHo054126@repoman.freebsd.org> From: Matt Dillon Date: Sat, 25 Jan 2003 11:32:35 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/sysinstall label.c X-FreeBSD-CVS-Branch: HEAD 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 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. MFC after: 3 days Revision Changes Path 1.136 +1 -1 src/usr.sbin/sysinstall/label.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message