quotaon.1m (2010 09)
q
quotaon(1M) quotaon(1M)
NAME
quotaon, quotaoff - turn HFS file system quotas on and off
SYNOPSIS
/usr/sbin/quotaon
[-guv] filesystem ...
/usr/sbin/quotaon
[-guv] -a
/usr/sbin/quotaoff
[-guv] filesystem ...
/usr/sbin/quotaoff
[-guv] -a
Remarks
These commands are provided for compatibility only. Their use is neither required nor recommended
because mount and umount enable and disable quotas cleanly (see mount (1M)). See WARNINGS below
for more information.
DESCRIPTION
The
quotaon command enables quotas on one or more file systems. Group quotas cannot be enabled on
HFS file systems.
The
quotaoff command disables quotas on one or more HFS file systems.
filesystem is either the name of the mount point of the file system, or the name of the block device con-
taining the file system. The file systems specified must be currently mounted in order to turn quotas on
or off. Also, the file system quota files,
quotas (for user quotas) and
quota.group (for group quotas)
must be present in the root directory of each specified file system.
These commands will update the appropriate entries in
/etc/mnttab to indicate that quotas are on or
off for each file system.
When enabling quotas interactively after boot time, the
quotacheck command should be run immedi-
ately afterward (see WARNINGS below).
Use
mount (see mount(1M)) to determine whether quotas are enabled on mounted file systems.
Options
The following options affect the behavior described above.
-a Obtain the filesystem list from /etc/fstab, using entries of type hfs and rw
(or default)
with the
quota option, for user quotas and grpquota option, for group quotas (see fstab (4)).
-g Turn on or off group quotas only.
-u Turn on or off user quotas (the default) only.
-v Generate a message for each file system affected.
EXTERNAL INFLUENCES
Environment Variables
LC_MESSAGES determines the language in which messages are displayed.
If
LC_MESSAGES is not specified in the environment or is set to the empty string, the value of LANG is
used as a default for each unspecified or empty variable. If LANG is not specified or is set to the empty
string, a default of "C" (see lang(5)) is used instead of LANG.
If any internationalization variable contains an invalid setting,
quotaon behaves as if all international-
ization variables are set to "C". See environ (5).
International Code Set Support
Single and multi-byte character code sets are supported.
WARNINGS
Using
quotaoff to disable quotas on a file system causes the system to discontinue tracking quotas for
that file system, and marks the quota clean flag in the superblock NOT_OK (see fsclean (1M)). This in
turn, forces a quotacheck the next time the system is booted. Since quotas are enabled and disabled
cleanly by mount and umount anyway, the use of quotaon and quotaoff is generally discouraged.
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1