make USRMB settable

This commit is contained in:
Ben Gras 2009-03-19 14:14:57 +00:00
parent e5079dfc02
commit d8d63f0e07

View File

@ -135,7 +135,12 @@ do
esac esac
done done
USRMB=550 if [ ! "$USRMB" ]
then USRMB=550
fi
echo $USRMB MB
USRKB=$(($USRMB*1024)) USRKB=$(($USRMB*1024))
USRBLOCKS=$(($USRMB * 1024 * 1024 / $BS)) USRBLOCKS=$(($USRMB * 1024 * 1024 / $BS))
USRSECTS=$(($USRMB * 1024 * 2)) USRSECTS=$(($USRMB * 1024 * 2))