aboutsummaryrefslogtreecommitdiff
path: root/man/man8
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-07-24 13:45:11 +0000
committerrsc <devnull@localhost>2005-07-24 13:45:11 +0000
commit72efb66636f15a37d8755ff47c84255298f0f280 (patch)
treeceb86eadaf71c297812fc46e0b998843fb7b9cd7 /man/man8
parent06466bd0da7163a1fd5d61edcb97493873ea6bcf (diff)
downloadplan9port-72efb66636f15a37d8755ff47c84255298f0f280.tar.gz
plan9port-72efb66636f15a37d8755ff47c84255298f0f280.tar.bz2
plan9port-72efb66636f15a37d8755ff47c84255298f0f280.zip
explain bloom
Diffstat (limited to 'man/man8')
-rw-r--r--man/man8/venti-fmt.863
1 files changed, 63 insertions, 0 deletions
diff --git a/man/man8/venti-fmt.8 b/man/man8/venti-fmt.8
index 4c130331..f83e5286 100644
--- a/man/man8/venti-fmt.8
+++ b/man/man8/venti-fmt.8
@@ -5,6 +5,7 @@ checkarenas,
checkindex,
conf,
fmtarenas,
+fmtbloom,
fmtindex,
fmtisect,
syncindex \- prepare and maintain a venti server
@@ -36,6 +37,20 @@ syncindex \- prepare and maintain a venti server
.I name
.I file
.PP
+.B venti/fmtbloom
+[
+.B -n
+.I nblocks
+|
+.B -N
+.I nhash
+]
+[
+.B -s
+.I size
+]
+.I file
+.PP
.B venti/fmtindex
[
.B -a
@@ -184,6 +199,54 @@ Using this option reduces the formatting time
but should only be used when it is known that the file was already zeroed.
(Version 1 only; version 2 sections are not and do not need to be zeroed.)
.PD
+.PP
+.I Fmtbloom
+formats the given
+.I file
+as a bloom filter
+(see
+.IR venti (7)).
+The options are:
+.TP
+.BI -n " nblock \fR| " -N " nhash
+The number of blocks expected to be indexed by the filter
+or the number of hash functions to use.
+If the
+.B -n
+option
+is given, it is used, along with the total size of the filter,
+to compute an appropriate
+.IR nhash .
+.TP
+.BI -s " size
+The size of the bloom filter. The default is the total size of the file.
+In either case,
+.I size
+is rounded down to a power of two.
+.PD
+.PP
+The
+.I file
+argument in the commands above can be of the form
+.IB file : lo - hi
+to specify a range of the file.
+.I Lo
+and
+.I hi
+are specified in bytes but can have the usual
+.BI k ,
+.BI m ,
+or
+.B g
+suffixes.
+Either
+.I lo
+or
+.I hi
+may be omitted.
+This notation eliminates the need to
+partition raw disks on non-Plan 9 systems.
+.PP
.I Fmtindex
reads the configuration file
.I venti.conf