summaryrefslogtreecommitdiff
path: root/static/plan9-4e/man8/checkindex.8
diff options
context:
space:
mode:
Diffstat (limited to 'static/plan9-4e/man8/checkindex.8')
-rw-r--r--static/plan9-4e/man8/checkindex.852
1 files changed, 52 insertions, 0 deletions
diff --git a/static/plan9-4e/man8/checkindex.8 b/static/plan9-4e/man8/checkindex.8
new file mode 100644
index 00000000..2ae21f51
--- /dev/null
+++ b/static/plan9-4e/man8/checkindex.8
@@ -0,0 +1,52 @@
+.TH CHECKINDEX 8
+.SH NAME
+checkindex \- check the integrity and optionally fix a Venti index
+.SH SYNOPSIS
+.B venti/checkindex
+[
+.B -f
+]
+[
+.B -B
+.I blockcachesize
+]
+.I venti.config
+.I tmp
+.SH DESCRIPTION
+.I Checkindex
+examines the Venti index described in
+.IR venti.config .
+The program detects various error conditions including:
+blocks that are not indexed, index entries for blocks that do not exist,
+and duplicate index entries.
+If requested, an attempt can be made to fix errors that are found.
+.PP
+The
+.I tmp
+file, usually a disk partition, must be large enough to store a copy of the index.
+This temporary space is used to perform a merge sort of index entries
+generated by reading the arenas.
+.PP
+Option to
+.I checkindex
+are:
+.TP
+.BI -B " blockcachesize
+The amount of memory, in bytes, to use for caching raw disk accesses while running
+.IR checkindex .
+The default is 8k.
+The units for the size can be specified by appending
+.LR k ,
+.LR m ,
+or
+.LR g
+to indicate kilobytes, megabytes, or gigabytes respectively.
+.TP
+.B -f
+Attempt to fix any errors that are found.
+.SH SOURCE
+.B /sys/src/cmd/venti
+.SH "SEE ALSO"
+.IR venti (8),
+.IR buildindex (8),
+.IR venti.conf (6)