quotacheck(1M)


quotacheck (generic) -- filesystem quota consistency checker

Synopsis

/usr/bin/quotacheck [-F FSType] [-V] [current_options] [-o specific_options] filesystem . . .

Description

quotacheck examines each filesystem, builds a table of current disk usage, and compares this table against that stored in the disk quota file for the filesystem. 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 filesystem is checked).

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

quotacheck accesses the character special device in calculating the actual disk usage for each user. Thus, the filesystems checked should be quiescent while quotacheck is running.

Command options

-F
Specify the FSType on which to operate. The FSType should either be specified here or be determinable from /etc/vfstab by matching the inputfs (device) with an entry in the table.

-v
Echo the complete command line, but do not execute the command. The command line is generated by using the options and arguments provided by the user and adding to them information derived from /etc/vfstab. This option should be used to verify and validate the command line.

-o
Specify FSType-specific options.

Files

/etc/mnttab
mounted filesystems

/etc/vfstab
list of default parameters for each filesystem

References

quotacheck_ufs(1M), generic quotaon(1M)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.