# Check quota and then turn quota on.
if [ -x /usr/sbin/quotacheck ]
then
echo \"Checking quotas. This may take some time.\"
/usr/sbin/quotacheck -avug
echo \" Done.\"
fi
if [ -x /usr/sbin/quotaon ]
then
echo \"Turning on quota.\"
/usr/sbin/quotaon -avug
fi
Time units may be: days, hours, minutes, or seconds
Grace period before enforcing soft limits for users:
/dev/hda2: block grace period: 0 days, file grace period: 0
days
把 0 days 这个部份变更为你觉得合理的任何期限。我个人选择 7 days
(或是 1 week )。