Debian-edu autopartkit rules
============================

The partition min/max sizes are in MiB, and the values should be
dividable by 32.

The minimum sizes should be the absolute minimum values (the disk
spaces used by the default installation), rounded up to the closest 32
MB boundary.  This is to make sure the installation testing in virtual
machines can be done with small hard drive images.

The minimum values should take into account the nagios warning levels
and also at least include 10% spare room to avoid fragmentation.

If for example /usr/ is filled with 1691 MiB after installation, the
minimum partition size can be calculated by adding 100 MiB (nagios
warning level), increasing this value by 10% and rounding up to the
nearest 32MiB.  In bc notation:

  (((1691+100)*110)/(32*100)+1)*32 = 1984

It could be argued that it is not necessary to add 100 MiB as long as
of the space used 10% is more then 100 MiB.  I choose to include both,
to give us extra buffer when we add packages to the profiles.

The maximum sizes should be a sensible upper limit for the partition.

The minimum size of the LVM volumes should be the sum of all its
member logical volumes plus 32 MB.  I'm not sure if this is enough,
but the 32 MB is intended to take care of the LVM overhead.

 - Petter Reinholdtsen, 2004-10-30


French add-on (or other country's 2nd CD) requirement : 
- As specified by bug SK#1077 the french team requested a larger 
maximum size for /usr so that the second CD can be installed with 
no partition resizing. /usr is now 1GB larger at most.

 - Benjamin Sonntag, 2006-03-20

