Generates, regenerates, updates bloom filters
bup bloom [-d dir][-o outfile] [-k hashes][-c idxfile] [-f][\--ruin]
bup bloom builds a bloom filter file for a bup repository. If one already exists, it checks the filter and updates or regenerates it as needed.
destroy bloom filters by setting the whole bitmask to zeros. you really want to know what you are doing if run this and you want to delete the resulting bloom when you are done with it.
don\[aq]t update the existing bloom file; generate a new one from scratch.
the directory, containing .idx files, to process. Defaults to $BUP_DIR/objects/pack
the file to write the bloom filter to. defaults to $dir/bup.bloom
number of hash functions to use only 4 and 5 are valid. defaults to 5 for repositories < 2 TiB, or 4 otherwise. See comments in git.py for more on this value.
checks the bloom file (counterintuitively outfile) against the specified .idx file, first checks that the bloom filter is claiming to contain the .idx, then checks that it does actually contain all of the objects in the .idx. Does not write anything and ignores the -k option.
Part of the bup(1) suite.
Brandon Low <[email protected]>.