We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de6eb64 + dc89a43 commit c076d66Copy full SHA for c076d66
bin/v-add-sys-quota
@@ -50,9 +50,7 @@ fi
50
51
# Adding v2 group and user quota index
52
if [ ! -e "$mnt/aquota.user" ] || [ ! -e "$mnt/aquota.group" ]; then
53
- quotaoff $mnt
54
- quotacheck -cug $mnt >/dev/null 2>&1
55
- quotacheck -aug >/dev/null 2>&1
+ quotacheck -avcugm >/dev/null 2>&1
56
fi
57
58
# Adding quotacheck on reboot
@@ -65,7 +63,7 @@ chmod a+x /etc/cron.daily/quotacheck
65
63
66
64
# Enabling group and user quota
67
if [ ! -z "$(quotaon -pa | grep " $mnt " | grep 'user\|group' | grep 'is off')" ]; then
68
- quotaon $mnt
+ quotaon -v $mnt
69
check_result $? "quota can't be enabled in $mnt" $E_DISK
70
71
0 commit comments