unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (4.2BSD)
Page:
Section:
Apropos / Subsearch:
optional field

QUOTACHECK(8)               System Manager's Manual              QUOTACHECK(8)



NAME
       quotacheck - file system quota consistency checker

SYNOPSIS
       /etc/quotacheck [ -v ] filesystem...
       /etc/quotacheck [ -v ] -a

DESCRIPTION
       Quotacheck  examines  each  file system, builds a table of current disc
       usage, and compares this table against that stored in  the  disc  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).

       If  the  -a  flag  is  supplied in place of any file system names, quo-
       tacheck will check all the file systems indicated in /etc/fstab  to  be
       read-write with disc quotas.

       Normally  quotacheck  reports  only  those  quotas modified.  If the -v
       option is supplied, quotacheck will indicate the calculated disc quotas
       for each user on a particular file system.

       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 disc quotas with quotaon(8).

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

FILES
       /etc/fstab     default file systems

SEE ALSO
       quota(2), setquota(2), quotaon(8)



4th Berkeley Distribution        18 July 1983                    QUOTACHECK(8)