From owner-svn-src-all@FreeBSD.ORG Wed Jul 7 12:44:19 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8119D1065670; Wed, 7 Jul 2010 12:44:19 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 57B008FC0C; Wed, 7 Jul 2010 12:44:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o67CiJTc092888; Wed, 7 Jul 2010 12:44:19 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o67CiJ2G092886; Wed, 7 Jul 2010 12:44:19 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201007071244.o67CiJ2G092886@svn.freebsd.org> From: Bruce Cran Date: Wed, 7 Jul 2010 12:44:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209764 - head/usr.sbin/sysinstall X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 12:44:19 -0000 Author: brucec Date: Wed Jul 7 12:44:19 2010 New Revision: 209764 URL: http://svn.freebsd.org/changeset/base/209764 Log: Increase the default and minimum partition sizes. Bump / to 1GB, /var to 4GB and /tmp to 1GB. A 512MB root partition is now too small to hold two kernels, so to prevent installkernel failing 1GB is a better default. Likewise, applications are storing more data in /var so 4GB is more reasonable on a modern machine. The previous minimum partition sizes were too small to hold a minimal installation, and have been adjusted accordingly. Discussed with: rwatson, simon Approved by: rrs (mentor) MFC after: 1 week Modified: head/usr.sbin/sysinstall/label.c Modified: head/usr.sbin/sysinstall/label.c ============================================================================== --- head/usr.sbin/sysinstall/label.c Wed Jul 7 12:08:58 2010 (r209763) +++ head/usr.sbin/sysinstall/label.c Wed Jul 7 12:44:19 2010 (r209764) @@ -62,9 +62,9 @@ * Minimum partition sizes */ #if defined(__ia64__) || defined(__sparc64__) || defined(__amd64__) -#define ROOT_MIN_SIZE 128 +#define ROOT_MIN_SIZE 280 #else -#define ROOT_MIN_SIZE 118 +#define ROOT_MIN_SIZE 180 #endif #define SWAP_MIN_SIZE 32 #define USR_MIN_SIZE 160 @@ -82,10 +82,10 @@ * for this configuration we scale things relative to the NOM vs DEFAULT * sizes. If the disk is larger then /home will get any remaining space. */ -#define ROOT_DEFAULT_SIZE 512 +#define ROOT_DEFAULT_SIZE 1024 #define USR_DEFAULT_SIZE 8192 -#define VAR_DEFAULT_SIZE 1024 -#define TMP_DEFAULT_SIZE 512 +#define VAR_DEFAULT_SIZE 4096 +#define TMP_DEFAULT_SIZE 1024 #define HOME_DEFAULT_SIZE USR_DEFAULT_SIZE /* @@ -93,9 +93,9 @@ * when we have insufficient disk space. If this isn't sufficient we scale * down using the MIN sizes instead. */ -#define ROOT_NOMINAL_SIZE 256 +#define ROOT_NOMINAL_SIZE 512 #define USR_NOMINAL_SIZE 1536 -#define VAR_NOMINAL_SIZE 128 +#define VAR_NOMINAL_SIZE 512 #define TMP_NOMINAL_SIZE 128 #define HOME_NOMINAL_SIZE USR_NOMINAL_SIZE