From: Ben Gras Date: Sun, 11 Sep 2005 20:00:56 +0000 (+0000) Subject: Andy's /home scheme. X-Git-Tag: v3.1.0~125 X-Git-Url: http://zhaoyanbai.com/repos/pkcs11-destroy.html?a=commitdiff_plain;h=1c05e29646a6b75096867e666e88193258e32e45;p=minix.git Andy's /home scheme. --- diff --git a/commands/scripts/setup.sh b/commands/scripts/setup.sh index 5b6089e43..3176bad91 100755 --- a/commands/scripts/setup.sh +++ b/commands/scripts/setup.sh @@ -340,9 +340,10 @@ then homesize="" while [ -z "$homesize" ] do - # 10% of partition is default - defmb="`expr $devsizemb / 10`" maxhome="`expr $devsizemb - $TOTALMB - 1`" + # 20% of what is left over after /home and /usr + # are taken. + defmb="`$maxhome / 5`" if [ $defmb -gt $maxhome ] then defmb=$maxhome