| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: quota.1,v 1.20 2020/01/20 21:30:41 dholland Exp $ | | 1 | .\" $NetBSD: quota.1,v 1.21 2020/01/20 21:35:41 dholland 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 |
| @@ -56,57 +56,58 @@ | | | @@ -56,57 +56,58 @@ |
56 | .Op Fl v | Fl q | | 56 | .Op Fl v | Fl q |
57 | .Sh DESCRIPTION | | 57 | .Sh DESCRIPTION |
58 | .Nm | | 58 | .Nm |
59 | displays users' disk usage and limits. | | 59 | displays users' disk usage and limits. |
60 | By default only the user quotas are printed. | | 60 | By default only the user quotas are printed. |
61 | .Pp | | 61 | .Pp |
62 | Options: | | 62 | Options: |
63 | .Pp | | 63 | .Pp |
64 | .Bl -tag -width Ds | | 64 | .Bl -tag -width Ds |
65 | .It Fl d | | 65 | .It Fl d |
66 | Query the kernel for default user or group quota instead of a specific | | 66 | Query the kernel for default user or group quota instead of a specific |
67 | user or group. | | 67 | user or group. |
68 | .It Fl g | | 68 | .It Fl g |
69 | Print group quotas for the group of which the user is a member. | | 69 | Print group quotas. |
| | | 70 | By default, print group quotas for all groups the user belongs to. |
70 | .It Fl h | | 71 | .It Fl h |
71 | Numbers are displayed in a human readable format. | | 72 | Numbers are displayed in a human readable format. |
72 | .It Fl q | | 73 | .It Fl q |
73 | Print a more terse message, containing only information | | 74 | Print a more terse message, containing only information |
74 | on file systems where usage is over quota. | | 75 | on file systems where usage is over quota. |
75 | .It Fl u | | 76 | .It Fl u |
76 | Print user quotas. | | 77 | Print user quotas. |
77 | This is the default. | | 78 | This is the default. |
78 | .It Fl v | | 79 | .It Fl v |
79 | .Nm | | 80 | .Nm |
80 | will display quotas on file systems where no storage is allocated. | | 81 | will display quotas on file systems where no storage is allocated. |
81 | .El | | 82 | .El |
82 | .Pp | | 83 | .Pp |
83 | Specifying both | | 84 | Specifying both |
84 | .Fl g | | 85 | .Fl g |
85 | and | | 86 | and |
86 | .Fl u | | 87 | .Fl u |
87 | displays both the user quotas and the group quotas (for | | 88 | displays both the user quotas and the group quotas (for |
88 | the user). | | 89 | the user). |
89 | .Pp | | 90 | .Pp |
90 | Only the super-user may use the | | 91 | Only the super-user may use the optional |
91 | .Fl u | | | |
92 | flag and the optional | | | |
93 | .Ar user | | 92 | .Ar user |
94 | argument to view the limits of other users. | | 93 | argument with the |
95 | Non-super-users can use the | | 94 | .Fl u |
96 | .Fl g | | 95 | flag to view quotas for other users. |
97 | flag and optional | | 96 | Non-super-users can use the optional |
98 | .Ar group | | 97 | .Ar group |
99 | argument to view only the limits of groups of which they are members. | | 98 | argument with the |
| | | 99 | .Fl g |
| | | 100 | flag to view only the limits of groups they belong to. |
100 | .Pp | | 101 | .Pp |
101 | Only the super-user may use the | | 102 | Only the super-user may use the |
102 | .Fl d | | 103 | .Fl d |
103 | flag. | | 104 | flag. |
104 | .Pp | | 105 | .Pp |
105 | The | | 106 | The |
106 | .Fl q | | 107 | .Fl q |
107 | flag takes precedence over the | | 108 | flag takes precedence over the |
108 | .Fl v | | 109 | .Fl v |
109 | flag. | | 110 | flag. |
110 | .Pp | | 111 | .Pp |
111 | .Nm | | 112 | .Nm |
112 | tries to report the quotas of all mounted file systems. | | 113 | tries to report the quotas of all mounted file systems. |