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
..
2005-01-18 20:02:45 +00:00
2005-07-28 19:41:52 +00:00
2005-08-06 16:52:30 +00:00
2005-02-13 22:25:33 +00:00
2005-03-24 01:26:40 +00:00
2005-05-20 12:44:04 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-05-04 08:57:12 +00:00
2005-07-15 15:32:52 +00:00
2005-02-09 12:17:52 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-08-11 15:23:23 +00:00
2005-02-13 22:25:33 +00:00
2005-03-11 14:20:09 +00:00
2004-01-04 15:51:32 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-01-11 11:47:22 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-03-03 06:38:00 +00:00
2005-06-14 12:26:36 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-06-14 12:26:36 +00:00
2005-02-13 22:25:33 +00:00
2005-02-09 18:07:17 +00:00
2005-06-14 12:26:36 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-06-03 15:25:13 +00:00
2005-04-09 14:59:10 +00:00
2005-04-09 14:59:10 +00:00
2005-02-09 18:07:17 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-02-15 09:27:00 +00:00
2005-08-10 17:09:08 +00:00
2005-01-18 20:02:45 +00:00
2005-06-09 09:28:35 +00:00
2005-02-13 23:45:54 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2004-12-21 10:49:29 +00:00
2004-12-21 10:49:29 +00:00
2005-07-11 04:14:42 +00:00
2005-01-18 20:02:45 +00:00
2004-12-21 12:44:20 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-06-14 12:26:36 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 23:45:54 +00:00