freebsd-nq/usr.sbin/sade
Colin Percival 398b037d7d Change the default partition sizing code in order to
1. Provide larger /, /var, and /tmp partitions (the last increase was
in 2001, and we now have both larger hard drives and more space-hungry
software.)
2. If there is enough space available, allocate extra space to /var
sufficient to store a crash dump.

On systems where harddrivesize > 3 * RAMsize + 10GB, the default sizes
will now be as follows:
swap	RAMsize * 2
/ 	512 MB
/tmp	512 MB
/var	1024 MB + RAMsize
/usr	the rest (8GB or more)

On systems where harddrivesize > RAMsize / 8 + 2 GB, the default sizes
will be in the following ranges, with space allocated proportionally:
swap	RAMsize / 8 -- RAMsize * 2
/	256 MB	    -- 512 MB
/tmp	128 MB      -- 512 MB
/var	128 MB      -- 1024 MB
/usr	1536 MB     -- 8192 MB

On systems with even less disk space, the existing behaviour is not
changed.

Approved by:	re (kensmith)
MFC after:	1 day
		(or once people stop arguing about colours of paint)
2005-08-16 13:19:17 +00:00
..
help Don't use UFS2 by default during the install process on PC98, as the 2003-04-21 20:57:20 +00:00
command.c
config.c Make sure /etc/fstab is written out for Apple-partitioned drives 2005-07-21 03:32:29 +00:00
devices.c Recognise GEM ethernet adapter (sparc64/ppc). 2005-07-21 03:33:19 +00:00
disks.c Add over 32GB disk support on pc98 (userland part). 2005-03-30 13:03:33 +00:00
dispatch.c Remove support for configuring the X server from sysinstall. General 2004-08-30 21:03:09 +00:00
dmenu.c Fix 3 'cast to pointer from integer of different size' warnings. 2003-09-17 03:45:30 +00:00
globals.c o Save pointers to the chunks for root, home, swap, usr, var and tmp in 2004-08-07 01:19:54 +00:00
install.c Automatically switch to ttyv3 where the fixit shell is running when using 2005-03-02 22:48:13 +00:00
keymap.c
label.c Change the default partition sizing code in order to 2005-08-16 13:19:17 +00:00
list.h
main.c The PCMCIA Standard dictates that those funny cards you insert into 2003-08-20 06:27:21 +00:00
Makefile Add Central European and Slovak keymaps to sysinstall. 2005-03-19 02:28:02 +00:00
menus.c Provide 32-bit runtime support on amd64 as a separate distribution, lib32. 2005-06-16 18:16:14 +00:00
misc.c
msg.c
rtermcap.c
sade.8 Catch up with menus.c revision 1.399. 2005-07-17 03:24:11 +00:00
sade.h - Fix a bug in sysinstall related to mounting CD-ROMs. If mount(2) fails 2005-03-02 22:27:22 +00:00
system.c The /stand directory now disappears out from under sysinstall while 2005-08-05 13:39:08 +00:00
termcap.c
usb.c
variable.c Fixed assorted misuses of NULL in integer context. 2004-03-11 11:58:16 +00:00
wizard.c Move the inclusion of libdisk.h from sysinstall.h to the source files 2004-08-02 23:18:48 +00:00