18d5d3898Smycroft.\" Copyright (c) 1983, 1990, 1991, 1993 28d5d3898Smycroft.\" The Regents of the University of California. All rights reserved. 3cf982846Scgd.\" 4cf982846Scgd.\" This code is derived from software contributed to Berkeley by 5cf982846Scgd.\" Robert Elz at The University of Melbourne. 6cf982846Scgd.\" Redistribution and use in source and binary forms, with or without 7cf982846Scgd.\" modification, are permitted provided that the following conditions 8cf982846Scgd.\" are met: 9cf982846Scgd.\" 1. Redistributions of source code must retain the above copyright 10cf982846Scgd.\" notice, this list of conditions and the following disclaimer. 11cf982846Scgd.\" 2. Redistributions in binary form must reproduce the above copyright 12cf982846Scgd.\" notice, this list of conditions and the following disclaimer in the 13cf982846Scgd.\" documentation and/or other materials provided with the distribution. 14326b2259Sagc.\" 3. Neither the name of the University nor the names of its contributors 15cf982846Scgd.\" may be used to endorse or promote products derived from this software 16cf982846Scgd.\" without specific prior written permission. 17cf982846Scgd.\" 18cf982846Scgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 19cf982846Scgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20cf982846Scgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21cf982846Scgd.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 22cf982846Scgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23cf982846Scgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24cf982846Scgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25cf982846Scgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26cf982846Scgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27cf982846Scgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28cf982846Scgd.\" SUCH DAMAGE. 29cf982846Scgd.\" 308d5d3898Smycroft.\" from: @(#)quotaon.8 8.2 (Berkeley) 12/11/93 31*7da608caSdholland.\" $NetBSD: quotaon.8,v 1.10 2012/02/13 19:53:26 dholland Exp $ 32cf982846Scgd.\" 338d5d3898Smycroft.Dd December 11, 1993 34cf982846Scgd.Dt QUOTAON 8 35d1407362Sgarbled.Os 36cf982846Scgd.Sh NAME 37cf982846Scgd.Nm quotaon , 38cf982846Scgd.Nm quotaoff 39cf982846Scgd.Nd turn filesystem quotas on and off 40cf982846Scgd.Sh SYNOPSIS 41bffabae3Slukem.Nm 42cf982846Scgd.Op Fl g 43cf982846Scgd.Op Fl u 44cf982846Scgd.Op Fl v 45cf982846Scgd.Ar filesystem Ar ... 46990562bfSwiz.Nm 47cf982846Scgd.Op Fl g 48cf982846Scgd.Op Fl u 49cf982846Scgd.Op Fl v 50cf982846Scgd.Fl a 51cf982846Scgd.Nm quotaoff 52cf982846Scgd.Op Fl g 53cf982846Scgd.Op Fl u 54cf982846Scgd.Op Fl v 55cf982846Scgd.Ar filesystem Ar ... 56cf982846Scgd.Nm quotaoff 57cf982846Scgd.Op Fl g 58cf982846Scgd.Op Fl u 59cf982846Scgd.Op Fl v 60cf982846Scgd.Fl a 61cf982846Scgd.Sh DESCRIPTION 62bffabae3Slukem.Nm 63cf982846Scgdannounces to the system that disk quotas should be enabled on one or more 64cf982846Scgdfilesystems. 65bffabae3Slukem.Nm quotaoff 66cf982846Scgdannounces to the system that the specified 67cf982846Scgdfilesystems should have any disk quotas 688ff9670dSsnjturned off. 69cf982846ScgdThe filesystems specified must have entries in 70cf982846Scgd.Pa /etc/fstab 71cf982846Scgdand be mounted. 72bffabae3Slukem.Nm 73cf982846Scgdexpects each filesystem to have quota files named 74cf982846Scgd.Pa quota.user 75cf982846Scgdand 76cf982846Scgd.Pa quota.group 77cf982846Scgdwhich are located at the root of the associated file system. 78cf982846ScgdThese defaults may be overridden in 79cf982846Scgd.Pa /etc/fstab . 80cf982846ScgdBy default both user and group quotas are enabled. 81cf982846Scgd.Pp 82cf982846ScgdAvailable options: 83cf982846Scgd.Bl -tag -width Ds 84cf982846Scgd.It Fl a 85cf982846ScgdIf the 86cf982846Scgd.Fl a 87cf982846Scgdflag is supplied in place of any filesystem names, 88990562bfSwiz.Nm Ns / Ns Nm quotaoff 89cf982846Scgdwill enable/disable all the filesystems indicated in 90cf982846Scgd.Pa /etc/fstab 91cf982846Scgdto be read-write with disk quotas. 92cf982846ScgdBy default only the types of quotas listed in 93cf982846Scgd.Pa /etc/fstab 94cf982846Scgdare enabled. 95cf982846Scgd.It Fl g 96cf982846ScgdOnly group quotas listed in 97cf982846Scgd.Pa /etc/fstab 98cf982846Scgdshould be enabled/disabled. 99cf982846Scgd.It Fl u 100cf982846ScgdOnly user quotas listed in 101cf982846Scgd.Pa /etc/fstab 102cf982846Scgdshould be enabled/disabled. 103cf982846Scgd.It Fl v 104cf982846ScgdCauses 105bffabae3Slukem.Nm 106cf982846Scgdand 107cf982846Scgd.Nm quotaoff 108cf982846Scgdto print a message for each filesystem where quotas are turned on or off. 109cf982846Scgd.El 110cf982846Scgd.Pp 111cf982846ScgdSpecifying both 112cf982846Scgd.Fl g 113cf982846Scgdand 114cf982846Scgd.Fl u 115cf982846Scgdis equivalent to the default. 116cf982846Scgd.Sh FILES 117cf982846Scgd.Bl -tag -width quota.group -compact 118cf982846Scgd.It Pa quota.user 119cf982846Scgdat the filesystem root with user quotas 120cf982846Scgd.It Pa quota.group 121cf982846Scgdat the filesystem root with group quotas 122cf982846Scgd.It Pa /etc/fstab 123cf982846Scgdfilesystem table 124cf982846Scgd.El 125cf982846Scgd.Sh SEE ALSO 126cf982846Scgd.Xr quota 1 , 127*7da608caSdholland.Xr libquota 3 , 128cf982846Scgd.Xr fstab 5 , 129cf982846Scgd.Xr edquota 8 , 130cf982846Scgd.Xr quotacheck 8 , 131cf982846Scgd.Xr repquota 8 132cf982846Scgd.Sh HISTORY 133cf982846ScgdThe 134cf982846Scgd.Nm 135cf982846Scgdcommand appeared in 136cf982846Scgd.Bx 4.2 . 137