]> andersk Git - moira.git/blame - man/setquota.8
Command line printer manipulation client, and build goo.
[moira.git] / man / setquota.8
CommitLineData
66b23b43 1.TH SETQUOTA 8 "23 Jan 1989" "Project Athena"
2\" RCSID: $Header$
3.UC 4
4.SH NAME
5setquota \- 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
16will set the hard and soft limits on disk usage and inode
17usage for the user with
18.I uid
19on the partition
20.I special. special
21can 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.
27The soft inode usage limit will be set to half that amount.
28The hard limits will be set to 1.2 times the soft limits.
29.SH OPTIONS
30If the
31.B \-u
32option is given, then the specified
33.I quota
34will be added to the current usage to obtain the new soft limit. The
35remaining values are then set relative to this as specified above.
36If the
37.B \-r
38option is given, then all the quotas for the inclusive range of uid's
39are set to the given quota (plus usage with the
40.B \-u
41option).
42.SH DIAGNOSTICS
4b37a7db 43.B setquota
44will return a non-zero status if the user is not root, if the uid is
45not between 0 and 32767 inclusive, if the low-uid is higher than the
46high-uid, if the quota is less than zero, or if quotas are not enabled
47on the given device or partition.
48
49The previous bug which required the user to manually grow the quotas
50file is fixed.
51.B setquota
52automatically grows the quotas file if necessary.
66b23b43 53.SH AUTHORS
54Bill Sommerfeld, MIT Project Athena
55.br
56Jim Rees, MIT Project Athena
57.SH "SEE ALSO"
58quota(1), quota(2), edquota(8), quotacheck(8), quotaon(8), repquota(8)
This page took 0.141946 seconds and 5 git commands to generate.