BSD 4_3_Reno release
[unix-history] / usr / src / usr.sbin / repquota / repquota.8
index 86c2bf0..7f00000 100644 (file)
@@ -1,31 +1,84 @@
-.\" Copyright (c) 1983 Regents of the University of California.
-.\" All rights reserved.  The Berkeley software License Agreement
-.\" specifies the terms and conditions for redistribution.
+.\" Copyright (c) 1983, 1990 Regents of the University of California.
+.\" All rights reserved.
 .\"
 .\"
-.\"    @(#)repquota.8  6.1 (Berkeley) %G%
+.\" This code is derived from software contributed to Berkeley by
+.\" Robert Elz at The University of Melbourne.
 .\"
 .\"
-.TH REPQUOTA 8 ""
+.\" Redistribution and use in source and binary forms are permitted provided
+.\" that: (1) source distributions retain this entire copyright notice and
+.\" comment, and (2) distributions including binaries display the following
+.\" acknowledgement:  ``This product includes software developed by the
+.\" University of California, Berkeley and its contributors'' in the
+.\" documentation or other materials provided with the distribution and in
+.\" all advertising materials mentioning features or use of this software.
+.\" Neither the name of the University nor the names of its contributors may
+.\" 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
+.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+.\"
+.\"    @(#)repquota.8  6.5 (Berkeley) 6/24/90
+.\"
+.TH REPQUOTA 8 "June 24, 1990"
 .UC 5
 .SH NAME
 repquota \- summarize quotas for a file system
 .SH SYNOPSIS
 .B repquota
 .UC 5
 .SH NAME
 repquota \- summarize quotas for a file system
 .SH SYNOPSIS
 .B repquota
-.IR filesys ...
+[
+.B \-v
+] [
+.B \-g
+] [
+.B \-u
+]
+filesystem ...
+.br
+.B repquota
+[
+.B \-v
+] [
+.B \-g
+] [
+.B \-u
+]
+.B \-a
+.br
 .SH DESCRIPTION
 .I Repquota
 .SH DESCRIPTION
 .I Repquota
-prints a summary of the disc usage and quotas for the
-specified file systems.  For each user the current
+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).
 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
 .PP
-Only the super-user may view quotas which are not their own.
+Only members of the operator group or the super-user may
+use this command.
 .SH FILES
 .DT
 .SH FILES
 .DT
-\fIquotas\fP   at the root of each file system with quotas
+\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
 .br
 /etc/fstab     for file system names and locations
 .SH SEE ALSO
-quota(1), quota(2), quotacheck(8), quotaon(8), edquota(8)
+quota(1),
+quotactl(2),
+fstab(5),
+edquota(8), quotacheck(8), quotaon(8)
 .SH DIAGNOSTICS
 Various messages about inaccessible files; self-explanatory.
 .SH DIAGNOSTICS
 Various messages about inaccessible files; self-explanatory.