Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ quotacheck(8) — SunOS 3.2/SYS4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

quotactl(2)

quotaon(8)

QUOTACHECK(8)  —  MAINTENANCE COMMANDS

NAME

quotacheck − check file system quota consistency

SYNOPSIS

/usr/etc/quotacheck [ −v ] filesystem...
/usr/etc/quotacheck [ −v ] −a

DESCRIPTION

Quotacheck examines each file system, builds a table of current disk usage, and compares this table against that stored in the disk quota file for the file system.  If any inconsistencies are detected, both the quota file and the current system copy of the incorrect quotas are updated (the latter only occurs if an active file system is checked). 

Quotacheck expects each file system to be checked to have a quota file named quotas in the root directory.  If none is present, quotacheck will ignore the file system. 

Quotacheck is normally run at boot time from the /etc/rc.local file, see rc(8), before enabling disk quotas with quotaon(8).

Quotacheck accesses the raw device in calculating the actual disk usage for each user.  Thus, the file systems checked should be quiescent while quotacheck is running. 

OPTIONS

−v indicate the calculated disk quotas for each user on a particular file system.  Quotacheck Normally reports only those quotas modified. 

−a check all the file systems indicated in /etc/fstab to be read-write with disk quotas. 

FILES

quotasquota file at the file system root
/etc/mtabmounted file systems
/etc/fstabdefault file systems

SEE ALSO

quotactl(2), quotaon(8)

Sun Release 3.2  —  Last change: 15 April 1985

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