diff options
author | brucec <brucec@FreeBSD.org> | 2010-07-07 12:44:19 +0000 |
---|---|---|
committer | brucec <brucec@FreeBSD.org> | 2010-07-07 12:44:19 +0000 |
commit | 0a0547a44db01e27873b539c252fad75519c994e (patch) | |
tree | 32144b3ef8996feee81647d8760075b78c9f08cc /usr.sbin | |
parent | e34e4ba3dccd7f78706998c928d73d1ff6d119ae (diff) | |
download | FreeBSD-src-0a0547a44db01e27873b539c252fad75519c994e.zip FreeBSD-src-0a0547a44db01e27873b539c252fad75519c994e.tar.gz |
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
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sysinstall/label.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/sysinstall/label.c b/usr.sbin/sysinstall/label.c index c5c06ea..ed7bdf0 100644 --- a/usr.sbin/sysinstall/label.c +++ b/usr.sbin/sysinstall/label.c @@ -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 |