summaryrefslogtreecommitdiff
path: root/setquota.8
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-03-30 14:07:06 +0200
committerJan Kara <jack@suse.cz>2016-03-31 10:29:14 +0200
commit49d5537d4748c890d4740c3deee37460f70bde77 (patch)
tree10f42fb0bab3a60d90d0f99d59ac41d85592477e /setquota.8
parent83057d99412d0cc57c8d22042e1975e4da96a2fa (diff)
setquota: Project quota support
Signed-off-by: Li Xi <lixi@ddn.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'setquota.8')
-rw-r--r--setquota.830
1 files changed, 22 insertions, 8 deletions
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