398b037d7d
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) |
||
---|---|---|
.. | ||
help | ||
anonFTP.c | ||
cdrom.c | ||
command.c | ||
config.c | ||
devices.c | ||
dhcp.c | ||
disks.c | ||
dispatch.c | ||
dist.c | ||
dist.h | ||
dmenu.c | ||
doc.c | ||
dos.c | ||
floppy.c | ||
ftp.c | ||
globals.c | ||
http.c | ||
index.c | ||
install.c | ||
install.cfg | ||
installUpgrade.c | ||
keymap.c | ||
label.c | ||
list.h | ||
main.c | ||
Makefile | ||
media.c | ||
menus.c | ||
misc.c | ||
modules.c | ||
mouse.c | ||
msg.c | ||
network.c | ||
nfs.c | ||
options.c | ||
package.c | ||
pccard.c | ||
rtermcap.c | ||
sysinstall.8 | ||
sysinstall.h | ||
system.c | ||
tape.c | ||
tcpip.c | ||
termcap.c | ||
ttys.c | ||
ufs.c | ||
usb.c | ||
user.c | ||
variable.c | ||
wizard.c |