From 46e182da4c8a338db22199e003fc2149ee3b1b81 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Wed, 25 Dec 2013 09:31:59 +0000 Subject: Minor changes. * src/gdbm_load.c: New options: --mmap, --cache-size and --block-size. * doc/gdbm.texinfo: Document new gdbm_load options. * doc/gdbm_load.1: Likewise. * src/gdbmdelete.c: Stylistic changes. * src/gdbmstore.c: Likewise. --- doc/gdbm_load.1 | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'doc/gdbm_load.1') diff --git a/doc/gdbm_load.1 b/doc/gdbm_load.1 index 00aaac0..8b0e77c 100644 --- a/doc/gdbm_load.1 +++ b/doc/gdbm_load.1 @@ -1,4 +1,4 @@ -.\" This file is part of GDBM. +.\" This file is part of GDBM. -*- nroff -*- .\" Copyright (C) 2011, 2013 Free Software Foundation, Inc. .\" .\" GDBM is free software; you can redistribute it and/or modify @@ -13,12 +13,15 @@ .\" .\" You should have received a copy of the GNU General Public License .\" along with GDBM. If not, see . */ -.TH GDBM_LOAD 1 "May 8, 2013" "GDBM" "GDBM User Reference" +.TH GDBM_LOAD 1 "December 25, 2013" "GDBM" "GDBM User Reference" .SH NAME gdbm_load \- re-create a GDBM database from a dump file. .SH SYNOPSIS -\fBgdbm_load\fR [\fB\-nr\fR] [\fB\-m\fR \fIMODE\fR]\ +\fBgdbm_load\fR [\fB\-Mnr\fR] [\fB\-b\fR \fINUM\fR] [\fB\-c\fR \fINUM]\ + [\fB\-m\fR \fIMODE\fR]\ [\fB\-u\fR \fINAME\fR|\fIUID\fR[:\fINAME\fR|\fIGID\fR]] + [\fB\-\-block\-size\fR=\fINUM\fR] [\fB\-\-cache\-size\fR=\fINUM\fR]\ + [\fB\-\-mmap\fR=\fINUM\fR] [\fB\-\-mode\fR=\fIMODE\fR]\ [\fB\-\-no\-meta\fR] [\fB\-\-replace\fR] [\fB\-\-user\fR=\fINAME\fR|\fIUID\fR[:\fINAME\fR|\fIGID\fR]]\ @@ -42,6 +45,15 @@ the created database are restored from the information in the dump. This can be overridden using the command line options (see below). .SH OPTIONS .TP +\fB\-b\fR, \fB\-\-block\-size\fR=\fINUM\fR +Sets block size. +.TP +\fB\-c\fR, \fB\-\-cache\-size\fR=\fINUM\fR +Sets cache size. +.TP +\fB\-M\fR, \fB\-\-mmap\fR +Use memory mapping. +.TP \fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR Set database file mode (octal number). .TP -- cgit v1.2.1