Setting quota limits as "0" is to remove quota limits, option "-d"
should be used to set the quota ID to use default quota.
Change-Id: I39f3933ee8658f6f7a4b1d754e09dc22a5d2addb
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/45996
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
<screen>
# lfs setquota -P -b 0 -B 0 -i 0 -I 0 /mnt/testfs
</screen>
<screen>
# lfs setquota -P -b 0 -B 0 -i 0 -I 0 /mnt/testfs
</screen>
+ <para>To set user 'bob' to use the default user quota:</para>
+ <screen>
+# lfs setquota -u bob -d /mnt/testfs
+ </screen>
+ <para>To set group 'bob' to use the default group quota:</para>
+ <screen>
+# lfs setquota -g bob -d /mnt/testfs
+ </screen>
+ <para>To set project 1000 to use the default project quota:</para>
+ <screen>
+# lfs setquota -p 1000 -d /mnt/testfs
+ </screen>
<note>
<para>
If quota limits are set for some user, group or project, it will use
those specific quota limits instead of the default quota. Quota limits for
any user, group or project will use the default quota by setting its quota
<note>
<para>
If quota limits are set for some user, group or project, it will use
those specific quota limits instead of the default quota. Quota limits for
any user, group or project will use the default quota by setting its quota
- limits to <literal>0</literal>.
+ limits with option '-d'.
</para>
</note>
</section>
</para>
</note>
</section>