Fri Jan 21 16:36:57 2011 UTC ()
Remove FILES section, it's obsolete


(bouyer)
diff -r1.14.52.1 -r1.14.52.2 src/usr.bin/quota/quota.1

cvs diff -r1.14.52.1 -r1.14.52.2 src/usr.bin/quota/quota.1 (switch to unified diff)

--- src/usr.bin/quota/quota.1 2011/01/20 14:25:05 1.14.52.1
+++ src/usr.bin/quota/quota.1 2011/01/21 16:36:57 1.14.52.2
@@ -1,159 +1,151 @@ @@ -1,159 +1,151 @@
1.\" $NetBSD: quota.1,v 1.14.52.1 2011/01/20 14:25:05 bouyer Exp $ 1.\" $NetBSD: quota.1,v 1.14.52.2 2011/01/21 16:36:57 bouyer Exp $
2.\" 2.\"
3.\" Copyright (c) 1983, 1990, 1993 3.\" Copyright (c) 1983, 1990, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
5.\" 5.\"
6.\" This code is derived from software contributed to Berkeley by 6.\" This code is derived from software contributed to Berkeley by
7.\" Robert Elz at The University of Melbourne. 7.\" Robert Elz at The University of Melbourne.
8.\" 8.\"
9.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions 10.\" modification, are permitted provided that the following conditions
11.\" are met: 11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright 12.\" 1. Redistributions of source code must retain the above copyright
13.\" notice, this list of conditions and the following disclaimer. 13.\" notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright 14.\" 2. Redistributions in binary form must reproduce the above copyright
15.\" notice, this list of conditions and the following disclaimer in the 15.\" notice, this list of conditions and the following disclaimer in the
16.\" documentation and/or other materials provided with the distribution. 16.\" documentation and/or other materials provided with the distribution.
17.\" 3. Neither the name of the University nor the names of its contributors 17.\" 3. Neither the name of the University nor the names of its contributors
18.\" may be used to endorse or promote products derived from this software 18.\" may be used to endorse or promote products derived from this software
19.\" without specific prior written permission. 19.\" without specific prior written permission.
20.\" 20.\"
21.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 21.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
22.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 24.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
25.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31.\" SUCH DAMAGE. 31.\" SUCH DAMAGE.
32.\" 32.\"
33.\" from: @(#)quota.1 8.1 (Berkeley) 6/6/93 33.\" from: @(#)quota.1 8.1 (Berkeley) 6/6/93
34.\" 34.\"
35.Dd June 6, 1993 35.Dd June 6, 1993
36.Dt QUOTA 1 36.Dt QUOTA 1
37.Os 37.Os
38.Sh NAME 38.Sh NAME
39.Nm quota 39.Nm quota
40.Nd display disk usage and limits 40.Nd display disk usage and limits
41.Sh SYNOPSIS 41.Sh SYNOPSIS
42.Nm 42.Nm
43.Op Fl D 43.Op Fl D
44.Op Fl h 44.Op Fl h
45.Op Fl g 45.Op Fl g
46.Op Fl u 46.Op Fl u
47.Op Fl v | Fl q 47.Op Fl v | Fl q
48.Nm 48.Nm
49.Op Fl D 49.Op Fl D
50.Op Fl h 50.Op Fl h
51.Op Fl u 51.Op Fl u
52.Op Fl v | Fl q 52.Op Fl v | Fl q
53.Ar user 53.Ar user
54.Nm 54.Nm
55.Op Fl D 55.Op Fl D
56.Op Fl h 56.Op Fl h
57.Op Fl g 57.Op Fl g
58.Op Fl v | Fl q 58.Op Fl v | Fl q
59.Ar group 59.Ar group
60.Nm 60.Nm
61.Fl d 61.Fl d
62.Op Fl D 62.Op Fl D
63.Op Fl h 63.Op Fl h
64.Op Fl g 64.Op Fl g
65.Op Fl v | Fl q 65.Op Fl v | Fl q
66.Sh DESCRIPTION 66.Sh DESCRIPTION
67.Nm 67.Nm
68displays users' disk usage and limits. 68displays users' disk usage and limits.
69By default only the user quotas are printed. 69By default only the user quotas are printed.
70.Pp 70.Pp
71Options: 71Options:
72.Pp 72.Pp
73.Bl -tag -width Ds 73.Bl -tag -width Ds
74.It Fl h 74.It Fl h
75Numbers are displayed in a human readable format. 75Numbers are displayed in a human readable format.
76.It Fl g 76.It Fl g
77Print group quotas for the group 77Print group quotas for the group
78of which the user is a member. 78of which the user is a member.
79The optional 79The optional
80.Fl u 80.Fl u
81flag is equivalent to the default. 81flag is equivalent to the default.
82.It Fl v 82.It Fl v
83.Nm 83.Nm
84will display quotas on filesystems 84will display quotas on filesystems
85where no storage is allocated. 85where no storage is allocated.
86.It Fl q 86.It Fl q
87Print a more terse message, 87Print a more terse message,
88containing only information 88containing only information
89on filesystems where usage is over quota. 89on filesystems where usage is over quota.
90.It Fl d 90.It Fl d
91Query the kernel for default user or group quota instead of a specific 91Query the kernel for default user or group quota instead of a specific
92user or group 92user or group
93.It Fl D 93.It Fl D
94Debug: print plist sent to and received from kernel. 94Debug: print plist sent to and received from kernel.
95.El 95.El
96.Pp 96.Pp
97Specifying both 97Specifying both
98.Fl g 98.Fl g
99and 99and
100.Fl u 100.Fl u
101displays both the user quotas and the group quotas (for 101displays both the user quotas and the group quotas (for
102the user). 102the user).
103.Pp 103.Pp
104Only the super-user may use the 104Only the super-user may use the
105.Fl u 105.Fl u
106flag and the optional 106flag and the optional
107.Ar user 107.Ar user
108argument to view the limits of other users. 108argument to view the limits of other users.
109Non-super-users can use the 109Non-super-users can use the
110.Fl g 110.Fl g
111flag and optional 111flag and optional
112.Ar group 112.Ar group
113argument to view only the limits of groups of which they are members. 113argument to view only the limits of groups of which they are members.
114.Pp 114.Pp
115Only the super-user may use the 115Only the super-user may use the
116.Fl d 116.Fl d
117flag. 117flag.
118.Pp 118.Pp
119The 119The
120.Fl q 120.Fl q
121flag takes precedence over the 121flag takes precedence over the
122.Fl v 122.Fl v
123flag. 123flag.
124.Pp 124.Pp
125.Nm 125.Nm
126tries to report the quotas of all mounted filesystems. 126tries to report the quotas of all mounted filesystems.
127If the filesystem is mounted via 127If the filesystem is mounted via
128.Em NFS 128.Em NFS
129it will attempt to contact the 129it will attempt to contact the
130.Xr rpc.rquotad 8 130.Xr rpc.rquotad 8
131daemon on the 131daemon on the
132.Em NFS 132.Em NFS
133server. 133server.
134If 134If
135.Nm 135.Nm
136exits with a non-zero status, one or more filesystems 136exits with a non-zero status, one or more filesystems
137are over quota. 137are over quota.
138.Sh FILES 
139.Bl -tag -width quota.group -compact 
140.It Pa quota.user 
141located at the filesystem root with user quotas 
142.It Pa quota.group 
143located at the filesystem root with group quotas 
144.It Pa /etc/fstab 
145to find filesystem names and locations 
146.El 138.El
147.Sh SEE ALSO 139.Sh SEE ALSO
148.Xr quotactl 2 , 140.Xr quotactl 2 ,
149.Xr fstab 5 , 141.Xr fstab 5 ,
150.Xr edquota 8 , 142.Xr edquota 8 ,
151.Xr quotacheck 8 , 143.Xr quotacheck 8 ,
152.Xr quotaon 8 , 144.Xr quotaon 8 ,
153.Xr repquota 8 , 145.Xr repquota 8 ,
154.Xr rpc.rquotad 8 146.Xr rpc.rquotad 8
155.Sh HISTORY 147.Sh HISTORY
156The 148The
157.Nm 149.Nm
158command appeared in 150command appeared in
159.Bx 4.2 . 151.Bx 4.2 .