]>
Commit | Line | Data |
---|---|---|
66b23b43 | 1 | .TH SETQUOTA 8 "23 Jan 1989" "Project Athena" |
2 | \" RCSID: $Header$ | |
3 | .UC 4 | |
4 | .SH NAME | |
5 | setquota \- set the disk usage quotas for a given user and partition | |
6 | .SH SYNOPSIS | |
7 | .B setquota | |
8 | [-u] | |
9 | .I special uid quota | |
10 | .br | |
11 | .B setquota | |
12 | -r [-u] | |
13 | .I special low_uid high_uid quota | |
14 | .SH DESCRIPTION | |
15 | .I Setquota | |
16 | will set the hard and soft limits on disk usage and inode | |
17 | usage for the user with | |
18 | .I uid | |
19 | on the partition | |
20 | .I special. special | |
21 | can be either the block device name (ie. | |
22 | .I /dev/rz3g | |
23 | ) or the directory it's mounted on. (ie. | |
24 | .I /u1 | |
25 | ). The user's soft disk usage limit will be set to | |
26 | .I quota. | |
27 | The soft inode usage limit will be set to half that amount. | |
28 | The hard limits will be set to 1.2 times the soft limits. | |
29 | .SH OPTIONS | |
30 | If the | |
31 | .B \-u | |
32 | option is given, then the specified | |
33 | .I quota | |
34 | will be added to the current usage to obtain the new soft limit. The | |
35 | remaining values are then set relative to this as specified above. | |
36 | If the | |
37 | .B \-r | |
38 | option is given, then all the quotas for the inclusive range of uid's | |
39 | are set to the given quota (plus usage with the | |
40 | .B \-u | |
41 | option). | |
42 | .SH DIAGNOSTICS | |
43 | An error will occur if you attempt to set the quota for a user whose | |
44 | uid is higher than any other recorded in the quotas file. To fix | |
45 | this, you must grow the quotas file first. | |
46 | .SH AUTHORS | |
47 | Bill Sommerfeld, MIT Project Athena | |
48 | .br | |
49 | Jim Rees, MIT Project Athena | |
50 | .SH "SEE ALSO" | |
51 | quota(1), quota(2), edquota(8), quotacheck(8), quotaon(8), repquota(8) |