Andy's /home scheme.
This commit is contained in:
parent
b18cbb66ea
commit
1c05e29646
@ -340,9 +340,10 @@ then homesize=""
|
|||||||
while [ -z "$homesize" ]
|
while [ -z "$homesize" ]
|
||||||
do
|
do
|
||||||
|
|
||||||
# 10% of partition is default
|
|
||||||
defmb="`expr $devsizemb / 10`"
|
|
||||||
maxhome="`expr $devsizemb - $TOTALMB - 1`"
|
maxhome="`expr $devsizemb - $TOTALMB - 1`"
|
||||||
|
# 20% of what is left over after /home and /usr
|
||||||
|
# are taken.
|
||||||
|
defmb="`$maxhome / 5`"
|
||||||
if [ $defmb -gt $maxhome ]
|
if [ $defmb -gt $maxhome ]
|
||||||
then
|
then
|
||||||
defmb=$maxhome
|
defmb=$maxhome
|
||||||
|
Loading…
x
Reference in New Issue
Block a user