From 49d5537d4748c890d4740c3deee37460f70bde77 Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Wed, 30 Mar 2016 14:07:06 +0200 Subject: setquota: Project quota support Signed-off-by: Li Xi Signed-off-by: Jan Kara --- setquota.8 | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'setquota.8') diff --git a/setquota.8 b/setquota.8 index 508309e..b59cc2e 100644 --- a/setquota.8 +++ b/setquota.8 @@ -10,6 +10,8 @@ setquota \- set disk quotas .B \-u | .B \-g +| +.B \-P ] [ .B \-F @@ -32,6 +34,8 @@ setquota \- set disk quotas .B \-u | .B \-g +| +.B \-P ] [ .B \-F @@ -55,6 +59,8 @@ setquota \- set disk quotas .B \-u | .B \-g +| +.B \-P ] [ .B \-F @@ -70,6 +76,8 @@ setquota \- set disk quotas .B \-u | .B \-g +| +.B \-P ] [ .B \-F @@ -87,6 +95,8 @@ setquota \- set disk quotas .B \-u | .B \-g +| +.B \-P ] [ .B \-F @@ -107,9 +117,9 @@ setquota \- set disk quotas .IX "filesystem" "setquota command" "" "\fLsetquota\fP \(em set disk quotas" .B setquota is a command line quota editor. -The filesystem, user/group name and new quotas for this +The filesystem, user/group/project name and new quotas for this filesystem can be specified on the command line. Note that if a number is -given in the place of a user/group name it is treated as an UID/GID. +given in the place of a user/group/project name it is treated as an UID/GID/project ID. .TP .B -r, --remote Edit also remote quota use rpc.rquotad on remote server to set quota. This @@ -146,14 +156,18 @@ Set user quotas for named user. This is the default. .B -g, --group Set group quotas for named group. .TP +.B -P, --project +Set project quotas for named project. +.TP .B -p, --prototype=\f2protoname\f1 -Use quota settings of user or group +Use quota settings of user, group or project .I protoname -to set the quota for the named user or group. +to set the quota for the named user, group or project. .TP .B --always-resolve -Always try to translate user / group name to uid / gid even if the name -is composed of digits only. +Always try to translate user / group / project name to +uid / gid / project ID even if the name is composed of +digits only. .TP .B -b, --batch Read information to set from stdin (input format is @@ -164,14 +178,14 @@ Read information to set from stdin (input format is If parsing of an input line in batch mode fails, continue with processing the next line. .TP .B -t, --edit-period -Set grace times for users/groups. Times +Set grace times for users/groups/projects. Times .B block-grace and .B inode-grace are specified in seconds. .TP .B -T, --edit-times -Alter times for individual user/group when softlimit is enforced. Times +Alter times for individual user/group/project when softlimit is enforced. Times .B block-grace and .B inode-grace -- cgit v1.2.3