|
|
1.1 ! root 1: .\" Copyright (c) 1983 Regents of the University of California. ! 2: .\" All rights reserved. ! 3: .\" ! 4: .\" Redistribution and use in source and binary forms are permitted ! 5: .\" provided that the above copyright notice and this paragraph are ! 6: .\" duplicated in all such forms and that any documentation, ! 7: .\" advertising materials, and other materials related to such ! 8: .\" distribution and use acknowledge that the software was developed ! 9: .\" by the University of California, Berkeley. The name of the ! 10: .\" University may not be used to endorse or promote products derived ! 11: .\" from this software without specific prior written permission. ! 12: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ! 13: .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED ! 14: .\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 15: .\" ! 16: .\" @(#)quotacheck.8 6.4 (Berkeley) 7/9/88 ! 17: .\" ! 18: .TH QUOTACHECK 8 "July 9, 1988" ! 19: .UC 5 ! 20: .SH NAME ! 21: quotacheck \- file system quota consistency checker ! 22: .SH SYNOPSIS ! 23: .B /etc/quotacheck ! 24: [ ! 25: .B \-v ! 26: ] [ ! 27: .B \-p ! 28: ] ! 29: filesystem... ! 30: .br ! 31: .B /etc/quotacheck ! 32: [ ! 33: .B \-v ! 34: ] [ ! 35: .B \-p ! 36: ] ! 37: .B \-a ! 38: .SH DESCRIPTION ! 39: .I Quotacheck ! 40: examines each file system, ! 41: builds a table of current disc usage, ! 42: and compares this table against that stored ! 43: in the disc quota file for the file system. ! 44: If any inconsistencies are detected, both the ! 45: quota file and the current system copy of the ! 46: incorrect quotas are updated (the latter only ! 47: occurs if an active file system is checked). ! 48: .PP ! 49: If the ! 50: .B \-a ! 51: flag is supplied in place of any file system ! 52: names, ! 53: .I quotacheck ! 54: will check all the file systems indicated in ! 55: .I /etc/fstab ! 56: to be read-write with disc quotas. ! 57: .PP ! 58: Normally ! 59: .I quotacheck ! 60: reports only those quotas modified. If the ! 61: .B \-v ! 62: option is supplied, ! 63: .I quotacheck ! 64: will indicate the calculated disc quotas for each ! 65: user on a particular file system. ! 66: .PP ! 67: If the ! 68: .B \-p ! 69: flag is supplied then parallel passes will be run on ! 70: the filesystems required, using the pass numbers in ! 71: /etc/fstab in an identical fashion to ! 72: .IR fsck (8). ! 73: .PP ! 74: .I Quotacheck ! 75: expects each file system to be checked to have a ! 76: quota file named ! 77: .I quotas ! 78: in the root directory. If none is present, ! 79: .I quotacheck ! 80: will ignore the file system. ! 81: .PP ! 82: .I Quotacheck ! 83: is normally run at boot time from the ! 84: .I /etc/rc.local ! 85: file, see ! 86: .IR rc (8), ! 87: before enabling disc quotas with ! 88: .IR quotaon (8). ! 89: .PP ! 90: .I Quotacheck ! 91: accesses the raw device in calculating the actual ! 92: disc usage for each user. Thus, the file systems ! 93: checked should be quiescent while ! 94: .I quotacheck ! 95: is running. ! 96: .SH FILES ! 97: .DT ! 98: /etc/fstab default file systems ! 99: .SH "SEE ALSO" ! 100: quota(2), setquota(2), quotaon(8), fsck(8)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.