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