From 8484b8429dbec861e257fb69c9f3a85ca7c98ccc Mon Sep 17 00:00:00 2001 From: Ken Thompson Date: Thu, 15 Feb 1973 12:46:40 -0500 Subject: [PATCH] Research V3 development Work on file man/man8/check.8 Co-Authored-By: Dennis Ritchie Synthesized-from: v3 --- man/man8/check.8 | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 man/man8/check.8 diff --git a/man/man8/check.8 b/man/man8/check.8 new file mode 100644 index 0000000000..9f6e030bda --- /dev/null +++ b/man/man8/check.8 @@ -0,0 +1,50 @@ +.pa 1 +.he 'CHECK (VIII)'1/20/73'CHECK (VIII)' +.ti 0 +NAME check -- file system consistency check +.sp +.ti 0 +SYNOPSIS check_____ [ filesystem [ blockno918 ... ] ] +.sp +.ti 0 +DESCRIPTION check_____ +will examine a file system, +build a bit map of used blocks, +and compare this bit map against +the bit map maintained on the file system. +If the file system is not specified, +a check of all +of the normally mounted file systems +is performed. +Output includes the number of files on the file system, +the number of these that are 'large', the number +of indirect blocks, +the number +of used blocks, and the number of free blocks. +.sp +check_____ works by examining the i-nodes +on the file system and is entirely +independent of its directory hierarchy. +The file system may be, +but need not be, mounted. + +.ti 0 +FILES /dev/rf?, +/dev/rk?, +/dev/rp? +.sp +.ti 0 +SEE ALSO find(I), ds(I) +.sp +.ti 0 +DIAGNOSTICS Diagnostics are produced for +blocks missing, duplicated, and bad block addresses. +Diagnostics are also produced for block numbers passed as parameters. +In each case, the block number, i-number, and +block class (i_ = inode, x_ indirect, f_ free) is printed. +.sp +.ti 0 +BUGS The +checking process is two pass in nature. +If checking is done on an active file system, +extraneous diagnostics may occur. -- 2.20.1