summaryrefslogtreecommitdiff
path: root/lib/libc/db/man
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-10-03 18:16:49 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-10-03 18:16:49 +0000
commitbea4f5ff879d18264867bbb169b6e18da30c2dac (patch)
tree797653b3a1f910a4fce19219930a383a04e1d796 /lib/libc/db/man
parentfb49cff57b926c91afdec396760be62857b21a73 (diff)
bt_open.c: parenthesize - and & proper (from freebsd);
hash_bigkey.c: fix NULL dereference exposed on big bsize values; hash_buf.c: fix DEBUG1 cases to make them print, not crash; hash.3: document real default values for bsize and ffactor.
Diffstat (limited to 'lib/libc/db/man')
-rw-r--r--lib/libc/db/man/hash.38
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/db/man/hash.3 b/lib/libc/db/man/hash.3
index 3aeab2ff800..5b78ded89e6 100644
--- a/lib/libc/db/man/hash.3
+++ b/lib/libc/db/man/hash.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hash.3,v 1.10 2000/04/18 02:31:35 aaron Exp $
+.\" $OpenBSD: hash.3,v 1.11 2000/10/03 18:16:48 mickey Exp $
.\" $NetBSD: hash.3,v 1.6 1996/05/03 21:26:50 cgd Exp $
.\"
.\" Copyright (c) 1997, Phillip F Knaack. All rights reserved.
@@ -87,7 +87,8 @@ The elements of this structure are as follows:
.Bl -tag -width XXXXXX -offset indent
.It Fa bsize
.Fa bsize
-defines the hash table bucket size, and is, by default, 256 bytes.
+defines the hash table bucket size, and is, by default,
+the block size of the underlying filesystem.
It may be preferable to increase the page size for disk-resident tables
and tables with large data items.
.It Fa ffactor
@@ -95,7 +96,8 @@ and tables with large data items.
indicates a desired density within the hash table.
It is an approximation of the number of keys allowed to accumulate in any
one bucket, determining when the hash table grows or shrinks.
-The default value is 8.
+The default value is the same as
+.Fa bsize .
.It Fa nelem
.Fa nelem
is an estimate of the final size of the hash table.