Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

quotaon(8)

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 quotas, owned by root, must exist in the root directory of the file system. See edquota(8) 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, the string quota will be added to mntopts; if quotas are off, the quota string is not present.

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

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/file-system/ufs

See Also

quotactl(4I), mnttab(5), vfstab(5), attributes(7), edquota(8), quota(8), quotacheck(8), repquota(8)