quota.user.5 (213573) | quota.user.5 (233648) |
---|---|
1.\" Copyright (c) 2001 Nik Clayton 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 7 unchanged lines hidden (view full) --- 16.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 17.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 18.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 19.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 20.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 21.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 22.\" SUCH DAMAGE. 23.\" | 1.\" Copyright (c) 2001 Nik Clayton 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 7 unchanged lines hidden (view full) --- 16.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 17.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 18.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 19.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 20.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 21.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 22.\" SUCH DAMAGE. 23.\" |
24.\" $FreeBSD: head/share/man/man5/quota.user.5 213573 2010-10-08 12:40:16Z uqs $ | 24.\" $FreeBSD: head/share/man/man5/quota.user.5 233648 2012-03-29 05:02:12Z eadler $ |
25.\" 26.Dd October 30, 2007 27.Dt QUOTA.USER 5 28.Os 29.Sh NAME 30.Nm quota.user , quota.group 31.Nd per file system quota database 32.Sh DESCRIPTION --- 6 unchanged lines hidden (view full) --- 39.Xr quotacheck 8 , 40and should be edited with 41.Xr edquota 8 . 42It is possible to specify a different location and file name with the 43.Dq Li userquota 44and 45.Dq Li groupquota 46options in the | 25.\" 26.Dd October 30, 2007 27.Dt QUOTA.USER 5 28.Os 29.Sh NAME 30.Nm quota.user , quota.group 31.Nd per file system quota database 32.Sh DESCRIPTION --- 6 unchanged lines hidden (view full) --- 39.Xr quotacheck 8 , 40and should be edited with 41.Xr edquota 8 . 42It is possible to specify a different location and file name with the 43.Dq Li userquota 44and 45.Dq Li groupquota 46options in the |
47.Xr fstab 5 | 47.Xr fstab 5 |
48file. 49.Pp 50The data files contain the following information: 51.Pp 52.Bl -bullet -offset indent -compact 53.It 54Current block usage 55.It --- 11 unchanged lines hidden (view full) --- 67.It 68File grace time remaining if over the soft limit 69.El 70.Pp 71See 72.Xr edquota 8 73for an explanation on the various limits and grace periods. 74.Pp | 48file. 49.Pp 50The data files contain the following information: 51.Pp 52.Bl -bullet -offset indent -compact 53.It 54Current block usage 55.It --- 11 unchanged lines hidden (view full) --- 67.It 68File grace time remaining if over the soft limit 69.El 70.Pp 71See 72.Xr edquota 8 73for an explanation on the various limits and grace periods. 74.Pp |
75During normal quota operations the | 75During normal quota operations the |
76.Xr quotactl 2 | 76.Xr quotactl 2 |
77interface is used to query or set quota information and the kernel | 77interface is used to query or set quota information and the kernel |
78will maintain the data files as needed. 79If quotas are disabled on 80a file system, but marked as having quotas enabled in 81.Xr fstab 5 , 82then the quota data files will be used directly. 83.Pp 84The data files are stored as an array of 85.Dq Li struct dqblk --- 13 unchanged lines hidden (view full) --- 99non-zero quota limits. 100.Pp 101The data record for id 0 has special meaning. If the 102.Dq Dv dqb_btime 103or 104.Dq Dv dbq_itime 105fields are non-zero, they are used to indicate the grace period on 106that file system for users who have exceeded their soft limit. | 78will maintain the data files as needed. 79If quotas are disabled on 80a file system, but marked as having quotas enabled in 81.Xr fstab 5 , 82then the quota data files will be used directly. 83.Pp 84The data files are stored as an array of 85.Dq Li struct dqblk --- 13 unchanged lines hidden (view full) --- 99non-zero quota limits. 100.Pp 101The data record for id 0 has special meaning. If the 102.Dq Dv dqb_btime 103or 104.Dq Dv dbq_itime 105fields are non-zero, they are used to indicate the grace period on 106that file system for users who have exceeded their soft limit. |
107These times can be set by 108.Xr edquota 8 | 107These times can be set by 108.Xr edquota 8 |
109with the 110.Fl t 111flag. 112If no explicit grace period has been set with 113.Xr edquota 8 , 114then the default value of 7 days will be used. 115The default values are defined by 116.Dv MAX_DQ_TIME --- 13 unchanged lines hidden --- | 109with the 110.Fl t 111flag. 112If no explicit grace period has been set with 113.Xr edquota 8 , 114then the default value of 7 days will be used. 115The default values are defined by 116.Dv MAX_DQ_TIME --- 13 unchanged lines hidden --- |