1.\" Copyright (c) 1983, 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Robert Elz at The University of Melbourne. 6.\" %sccs.include.redist.man% 7.\" 8.\" @(#)quotaon.8 8.2 (Berkeley) 12/11/93 9.\" 10.Dd 11.Dt QUOTAON 8 12.Os BSD 4.2 13.Sh NAME 14.Nm quotaon , 15.Nm quotaoff 16.Nd turn filesystem quotas on and off 17.Sh SYNOPSIS 18.Nm quotaon 19.Op Fl g 20.Op Fl u 21.Op Fl v 22.Ar filesystem Ar ... 23.Nm quotaon 24.Op Fl g 25.Op Fl u 26.Op Fl v 27.Fl a 28.Nm quotaoff 29.Op Fl g 30.Op Fl u 31.Op Fl v 32.Ar filesystem Ar ... 33.Nm quotaoff 34.Op Fl g 35.Op Fl u 36.Op Fl v 37.Fl a 38.Sh DESCRIPTION 39.Nm Quotaon 40announces to the system that disk quotas should be enabled on one or more 41filesystems. 42.Nm Quotaoff 43announces to the system that the specified 44filesystems should have any disk quotas 45diskquotas turned off. 46The filesystems specified must have entries in 47.Pa /etc/fstab 48and be mounted. 49.Nm Quotaon 50expects each filesystem to have quota files named 51.Pa quota.user 52and 53.Pa quota.group 54which are located at the root of the associated file system. 55These defaults may be overridden in 56.Pa /etc/fstab . 57By default both user and group quotas are enabled. 58.Pp 59Available options: 60.Bl -tag -width Ds 61.It Fl a 62If the 63.Fl a 64flag is supplied in place of any filesystem names, 65.Nm quotaon Ns / Ns Nm quotaoff 66will enable/disable all the filesystems indicated in 67.Pa /etc/fstab 68to be read-write with disk quotas. 69By default only the types of quotas listed in 70.Pa /etc/fstab 71are enabled. 72.It Fl g 73Only group quotas listed in 74.Pa /etc/fstab 75should be enabled/disabled. 76.It Fl u 77Only user quotas listed in 78.Pa /etc/fstab 79should be enabled/disabled. 80.It Fl v 81Causes 82.Nm quotaon 83and 84.Nm quotaoff 85to print a message for each filesystem where quotas are turned on or off. 86.El 87.Pp 88Specifying both 89.Fl g 90and 91.Fl u 92is equivalent to the default. 93.Sh FILES 94.Bl -tag -width quota.group -compact 95.It Pa quota.user 96at the filesystem root with user quotas 97.It Pa quota.group 98at the filesystem root with group quotas 99.It Pa /etc/fstab 100filesystem table 101.El 102.Sh SEE ALSO 103.Xr quota 1 , 104.Xr quotactl 2 , 105.Xr fstab 5 , 106.Xr edquota 8 , 107.Xr quotacheck 8 , 108.Xr repquota 8 109.Sh HISTORY 110The 111.Nm 112command appeared in 113.Bx 4.2 . 114