diff options
| author | Mike Pritchard <mpp@FreeBSD.org> | 2007-02-01 02:31:02 +0000 |
|---|---|---|
| committer | Mike Pritchard <mpp@FreeBSD.org> | 2007-02-01 02:31:02 +0000 |
| commit | cbd21da6b239134fbde3a8676a84dc15b429cf7b (patch) | |
| tree | eb8a1e44d0451c4fdc66ab9b502b1a0f35728320 /lib | |
| parent | 6c62e3fce9846916e18e7da0898198fc4570eba3 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/sys/quotactl.2 | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/libc/sys/quotactl.2 b/lib/libc/sys/quotactl.2 index 5ff52d41173e..4b4dca5fbcbd 100644 --- a/lib/libc/sys/quotactl.2 +++ b/lib/libc/sys/quotactl.2 @@ -54,7 +54,7 @@ given by .Fa cmd operates on the given filename .Fa path -for the given user +for the given user or group .Fa id . (NOTE: One should use the QCMD macro defined in .In ufs/ufs/quota.h @@ -65,6 +65,12 @@ The address of an optional command specific data structure, may be given; its interpretation is discussed below with each command. .Pp +For commands that use the +.Fa id +identifier, it must be either -1 or any positive value. +The value of -1 indicates that the current UID or GID should be used. +Any other negative value will return an error. +.Pp Currently quotas are supported only for the .Dq ufs file system. @@ -175,6 +181,15 @@ In and .Dv Q_SETQUOTA , quotas are not currently enabled for this file system. +.Pp +The +.Fa id +argument to +.Dv Q_GETQUOTA , +.Dv Q_SETQUOTA +or +.Dv Q_SETUSE +is a negative value. .It Bq Er EACCES In .Dv Q_QUOTAON , |
