Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

edquota(1M)

quota(1M)

quotacheck(1M)

repquota(1M)

mnttab(4)

vfstab(4)

quotaon(1M)

NAME

quotaon, quotaoff − turn ufs file system quotas on and off

SYNOPSIS

quotaon [ −v ] filesystem...
quotaon −a [ −v ]

quotaoff [ −v ] filesystem...
quotaoff −a [ −v ]

DESCRIPTION

quotaon turns on disk quotas for one or more ufs file systems. 

Before a file system may have quotas enabled, a file named quota, owned by root, must exist in the root directory of the file system. See edquota(1M) for details on how to modify the contents of this file. 

quotaoff turns off disk quotas for one or more ufs file systems. 

The file systems specified must already be mounted. 

These commands update the mntopts field of the appropriate entries in /etc/mnttab to indicate when quotas are on or off for each file system: if quotas are on, “quota” will added to the mntopts, if quotas are off, mntopts will be marked “noquota”. 

filesystem must be either the mount point of a file system, or the block device on which the file system resides. 

OPTIONS

quotaon

−a This option is normally used at boot time to enable quotas.  It applies only to those file systems in /etc/vfstab which have “rq” in the mntopts field, are currently mounted “rw”, and have a quotas file in the root directory. 

−v Display a message for each file system after quotas are turned on. 

quotaoff

−a Force all file systems in /etc/mnttab to have their quotas disabled. 

−v Display a message for each file system affected. 

FILES

/etc/mnttab mounted file systems

/etc/vfstab list of default parameters for each file system

SEE ALSO

edquota(1M), quota(1M), quotacheck(1M), repquota(1M), mnttab(4), vfstab(4)

Sun Microsystems  —  Last change: 18 Dec 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026