BSD 4_4 release
[unix-history] / usr / src / usr.sbin / repquota / repquota.8
CommitLineData
ad787160
C
1.\" Copyright (c) 1983, 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
fbd7cd5d 3.\"
79fdf6e5
KM
4.\" This code is derived from software contributed to Berkeley by
5.\" Robert Elz at The University of Melbourne.
6.\"
c0567266
KB
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright
11.\" notice, this list of conditions and the following disclaimer.
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\" notice, this list of conditions and the following disclaimer in the
14.\" documentation and/or other materials provided with the distribution.
15.\" 3. All advertising materials mentioning features or use of this software
16.\" must display the following acknowledgement:
17.\" This product includes software developed by the University of
18.\" California, Berkeley and its contributors.
19.\" 4. Neither the name of the University nor the names of its contributors
20.\" may be used to endorse or promote products derived from this software
21.\" without specific prior written permission.
22.\"
23.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
fbd7cd5d 34.\"
ad787160
C
35.\" @(#)repquota.8 8.1 (Berkeley) 6/6/93
36.\"
37.Dd June 6, 1993
b42074ab
CL
38.Dt REPQUOTA 8
39.Os BSD 4.2
40.Sh NAME
41.Nm repquota
42.Nd summarize quotas for a file system
43.Sh SYNOPSIS
44.Nm repquota
45.Op Fl g
46.Op Fl u
47.Op Fl v
48.Ar filesystem Ar ...
49.Nm repquota
50.Op Fl g
51.Op Fl u
52.Op Fl v
53.Fl a
54.Sh DESCRIPTION
55.Nm Repquota
79fdf6e5
KM
56prints a summary of the disk usage and quotas for the
57specified file systems.
b42074ab
CL
58.Pp
59Available options:
60.Bl -tag -width Ds
61.It Fl a
62Print the quotas of all the filesystems listed in
63.Pa /etc/fstab .
64.It Fl g
65Print only group quotas (the default is to print both
66group and user quotas if they exist).
67.It Fl u
68Print only user quotas (the default is to print both
69group and user quotas if they exist).
70.It Fl v
71Print a header line before printing each filesystem quotas.
72.El
73.Pp
79fdf6e5 74For each user or group, the current
fbd7cd5d
KM
75number files and amount of space (in kilobytes) is
76printed, along with any quotas created with
b42074ab
CL
77.Xr edquota 8 .
78.Pp
79fdf6e5
KM
79Only members of the operator group or the super-user may
80use this command.
b42074ab
CL
81.Sh FILES
82.Bl -tag -width quota.group -compact
83.It Pa quota.user
84at the filesystem root with user quotas
85.It Pa quota.group
86at the filesystem root with group quotas
87.It Pa /etc/fstab
88for file system names and locations
89.El
90.Sh SEE ALSO
91.Xr quota 1 ,
92.Xr quotactl 2 ,
93.Xr fstab 5 ,
94.Xr edquota 8 ,
95.Xr quotacheck 8 ,
96.Xr quotaon 8
97.Sh DIAGNOSTICS
fbd7cd5d 98Various messages about inaccessible files; self-explanatory.
b42074ab
CL
99.Sh HISTORY
100The
101.Nm
102command appeared in
103.Bx 4.2 .