Date: Sat, 07 Aug 2010 15:18:58 +0200 From: Nagilum <nagilum@nagilum.org> To: Bruce Cran <brucec@FreeBSD.org> Cc: svn-src-stable-8@freebsd.org Subject: Re: svn commit: r211007 - stable/8/usr.sbin/sysinstall Message-ID: <20100807151858.18405yjtkz4ijzks@cakebox.homeunix.net> In-Reply-To: <201008071218.o77CIavd036475@svn.freebsd.org> References: <201008071218.o77CIavd036475@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I'm not so sure about the minsize for / /boot is not too unlikely to end up on a separate partition (ie. if the BIOS has trouble accessing / or the system was set up with ZFS as rootfs before zfsloader) and the rest would fit just fine in 128MB: 1.0M bin 1.9M etc 6.8M lib 482K libexec 4.2M rescue 4.9M sbin root@cakebox / > uname -a FreeBSD cakebox.tis 8.1-STABLE FreeBSD 8.1-STABLE #0: Fri Jul 30 11:27:47 CEST 2010 root@cakebox.tis:/usr/obj/export/src/sys/net5501 i386 But maybe it's just me.. ----- Message from brucec@FreeBSD.org --------- Date: Sat, 7 Aug 2010 12:18:36 +0000 (UTC) From: Bruce Cran <brucec@FreeBSD.org> Subject: svn commit: r211007 - stable/8/usr.sbin/sysinstall To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org > Author: brucec > Date: Sat Aug 7 12:18:36 2010 > New Revision: 211007 > URL: http://svn.freebsd.org/changeset/base/211007 > > Log: > MFC r209764: > > 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. > > Approved by: rrs (mentor) > > Modified: > stable/8/usr.sbin/sysinstall/label.c > Directory Properties: > stable/8/usr.sbin/sysinstall/ (props changed) > > Modified: stable/8/usr.sbin/sysinstall/label.c > ============================================================================== > --- stable/8/usr.sbin/sysinstall/label.c Sat Aug 7 11:57:13 2010 (r211006) > +++ stable/8/usr.sbin/sysinstall/label.c Sat Aug 7 12:18:36 2010 (r211007) > @@ -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 > > _______________________________________________ > svn-src-stable-8@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-stable-8 > To unsubscribe, send any mail to "svn-src-stable-8-unsubscribe@freebsd.org" > ----- End message from brucec@FreeBSD.org ----- ======================================================================== # _ __ _ __ http://www.nagilum.org/ \n icq://69646724 # # / |/ /__ ____ _(_) /_ ____ _ nagilum@nagilum.org \n +491776461165 # # / / _ `/ _ `/ / / // / ' \ Amiga (68k/PPC): AOS/NetBSD/Linux # # /_/|_/\_,_/\_, /_/_/\_,_/_/_/_/ Mac (PPC): MacOS-X / NetBSD /Linux # # /___/ x86: FreeBSD/Linux/Solaris/Win2k ARM9: EPOC EV6 # ======================================================================== ---------------------------------------------------------------- cakebox.homeunix.net - all the machine one needs..
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100807151858.18405yjtkz4ijzks>