int ShowDefaultQuota(); /* show or change system default quota. */
int ChangeDefaultQuota();
-int ShowUserQuota(); /* modify a user's quota. */
-int ChangeUserQuota();
-int AddUserQuota();
-int RemoveUserQuota();
+int GetQuota(); /* modify a user's quota. */
+int GetQuotaByFilesys();
+int AddQuota();
+int UpdateQuota();
+int DeleteQuota();
/* user.c */
NULLFUNC,
NULLFUNC,
"Quota Menu",
- 7,
+ 8,
{
SIMPLEFUNC("shdef", "Show default user quota (in KB)", ShowDefaultQuota),
{ChangeDefaultQuota, NULLMENU, 2, {
{"chdef", "Change default user quota"},
{"quota", "New quota (in KB): "}
} },
- SIMPLEFUNC("shquota", "Show a user's disk quota on a filesytem",
- ShowUserQuota),
- SIMPLEFUNC("addquota", "Add a new disk quota for user on a filesytem",
- AddUserQuota),
- SIMPLEFUNC("chquota", "Change a user's disk quota on a filesytem",
- ChangeUserQuota),
- SIMPLEFUNC("rmquota", "Remove a user's disk quota on a filesytem",
- RemoveUserQuota),
+ SIMPLEFUNC("getquota", "Show a quota on a filesystem",
+ GetQuota),
+ SIMPLEFUNC("getfsquotas", "Show all quotas on a filesystem",
+ GetQuotaByFilesys),
+ SIMPLEFUNC("addquota", "Add a new disk quota on a filesystem",
+ AddQuota),
+ SIMPLEFUNC("upquota", "Change a quota on a filesystem",
+ UpdateQuota),
+ SIMPLEFUNC("delquota", "Delete a quota on a filesystem",
+ DeleteQuota),
SIMPLEFUNC("verbose", "Toggle Verbosity of Delete", ToggleVerboseMode)
}
};