freebsd-dev/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
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
dispatch.c
dmenu.c
globals.c
install.c
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
Makefile
menus.c
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
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
wizard.c