update for new quota system
[unix-history] / usr / src / usr.sbin / repquota / repquota.8
.\" Copyright (c) 1983, 1990 Regents of the University of California.
.\" All rights reserved.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" Robert Elz at The University of Melbourne.
.\"
.\" Redistribution and use in source and binary forms are permitted
.\" provided that the above copyright notice and this paragraph are
.\" duplicated in all such forms and that any documentation,
.\" advertising materials, and other materials related to such
.\" distribution and use acknowledge that the software was developed
.\" by the University of California, Berkeley. The name of the
.\" University may not be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
.\" @(#)repquota.8 6.4 (Berkeley) %G%
.\"
.TH REPQUOTA 8 ""
.UC 5
.SH NAME
repquota \- summarize quotas for a file system
.SH SYNOPSIS
.B repquota
[
.B \-v
] [
.B \-g
] [
.B \-u
]
filesystem ...
.br
.B repquota
[
.B \-v
] [
.B \-g
] [
.B \-u
]
.B \-a
.br
.SH DESCRIPTION
.I Repquota
prints a summary of the disk usage and quotas for the
specified file systems.
If the \fI-a\fP flag is used,
.I repquota
prints the quotas of all the filesystems listed in
.IR /etc/fstab .
.PP
By default both user and group quotas are printed if they exist.
The optional \fI-g\fP flag specifies that only group quotas should be printed.
The optional \fI-u\fP flag specifies that only user quotas should be printed.
Specifying both \fI-g\fP and \fI-u\fP is equivalent to the default.
.PP
For each user or group, the current
number files and amount of space (in kilobytes) is
printed, along with any quotas created with
.IR edquota (8).
If the \fI-v\fP flag is specified,
a header line is printed preceding each filesystems quotas.
.PP
Only members of the operator group or the super-user may
use this command.
.SH FILES
.DT
\fIquota.user\fP at the filesystem root with user quotas
.br
\fIquota.group\fP at the filesystem root with group quotas
.br
/etc/fstab for file system names and locations
.SH SEE ALSO
quota(1),
quotactl(2),
fstab(5),
edquota(8), quotacheck(8), quotaon(8)
.SH DIAGNOSTICS
Various messages about inaccessible files; self-explanatory.