xref: /original-bsd/usr.sbin/quotaon/quotaon.8 (revision 6131e5cb)
Copyright (c) 1983 Regents of the University of California.
All rights reserved.

Redistribution and use in source and binary forms are permitted
provided that the above copyright notice and this paragraph are
duplicated in all such forms and that any documentation,
advertising materials, and other materials related to such
distribution and use acknowledge that the software was developed
by the University of California, Berkeley. The name of the
University may not be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

@(#)quotaon.8 6.3 (Berkeley) 07/09/88

QUOTAON 8 ""
C 5
NAME
quotaon, quotaoff - turn file system quotas on and off
SYNOPSIS
/etc/quotaon [ -v ] filsys...

/etc/quotaon [ -v ] -a

/etc/quotaoff [ -v ] filsys...

/etc/quotaoff [ -v ] -a

DESCRIPTION
Quotaon announces to the system that disc quotas should be enabled on one or more file systems. The file systems specified must have entries in /etc/fstab and be mounted at the time. The file system quota files must be present in the root directory of the specified file system and be named quotas . The optional argument -v causes quotaon to print a message for each file system where quotas are turned on. If, instead of a list of file systems, a -a argument is give to quotaon , all file systems in /etc/fstab marked read-write with quotas will have their quotas turned on. This is normally used at boot time to enable quotas.

Quotaoff announces to the system that file systems specified should have any disc quotas turned off. As above, the -v forces a verbose message for each file system affected; and the -a option forces all file systems in /etc/fstab to have their quotas disabled.

These commands update the status field of devices located in /etc/mtab to indicate when quotas are on or off for each file system.

FILES
/etc/mtab mount table

/etc/fstab file system table

"SEE ALSO"
setquota(2), mtab(5), fstab(5)