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 | ||
command.c | ||
config.c | ||
devices.c | ||
disks.c | ||
dispatch.c | ||
dmenu.c | ||
globals.c | ||
install.c | ||
keymap.c | ||
label.c | ||
list.h | ||
main.c | ||
Makefile | ||
menus.c | ||
misc.c | ||
msg.c | ||
rtermcap.c | ||
sade.8 | ||
sade.h | ||
system.c | ||
termcap.c | ||
usb.c | ||
variable.c | ||
wizard.c |