1MAKEDBZ(8) InterNetNews Documentation MAKEDBZ(8)
2
3
4
6 makedbz - Rebuild dbz files
7
9 makedbz [-io] [-f filename] [-s size]
10
12 makedbz rebuilds dbz database. The default name of the text file is
13 pathdb/history; to specify a different name, use the -f flag.
14
16 -f filename
17 If the -f flag is used, then the database files are named
18 "filename.dir", "filename.index", and "filename.hash". If the -f
19 flag is not used, then a temporary link to the name "history.n" is
20 made and the database files are written as "history.n.index" ,
21 "history.n.hash" and "history.n.dir".
22
23 -i To ignore the old database, use the -i flag. Using the -o or -s
24 flags implies the -i flag.
25
26 -o If the -o flag is used, then the temporary link to "history.n" (or
27 the name specified by the -f flag) is not made and any existing
28 history files are overwritten. If the old database exists, makedbz
29 will use it to determine the size of the new database.
30
31 -s size
32 makedbz will also ignore any old database if the -s flag is used to
33 specify the approximate number of entries in the new database.
34 Accurately specifying the size is an optimization that will create
35 a more efficient database. Size is measured in key-value pairs
36 (i.e. lines). (The size should be the estimated eventual size of
37 the file, typically the size of the old file.)
38
39 For more information, see the discussion of dbzfresh and dbzsize in
40 libinn_dbz(3).
41
43 Written by Katsuhiro Kondou <kondou@nec.co.jp> for InterNetNews.
44 Converted to POD by Julien Elie.
45
47 history(5), libinn_dbz(3).
48
49
50
51INN 2.7.0 2022-07-10 MAKEDBZ(8)