summaryrefslogtreecommitdiffabout
path: root/doc/gdbm.texinfo
Unidiff
Diffstat (limited to 'doc/gdbm.texinfo') (more/less context) (ignore whitespace changes)
-rw-r--r--doc/gdbm.texinfo29
1 files changed, 21 insertions, 8 deletions
diff --git a/doc/gdbm.texinfo b/doc/gdbm.texinfo
index 5c962d5..201f01c 100644
--- a/doc/gdbm.texinfo
+++ b/doc/gdbm.texinfo
@@ -1895,15 +1895,15 @@ be set in a startup script file (@pxref{startup files}).
1895@anchor{open parameters} 1895@anchor{open parameters}
1896The following variables control how the database is opened: 1896The following variables control how the database is opened:
1897 1897
1898@deftypevr {gdbmtool variable} numeric blocksize
1899Sets the block size. @xref{Open, block_size}. Unset by default.
1900@end deftypevr
1901
1898@deftypevr {gdbmtool variable} numeric cachesize 1902@deftypevr {gdbmtool variable} numeric cachesize
1899Sets the cache size. @xref{Options, GDBM_SETCACHESIZE}. 1903Sets the cache size. @xref{Options, GDBM_SETCACHESIZE}.
1900By default this variable is not set. 1904By default this variable is not set.
1901@end deftypevr 1905@end deftypevr
1902 1906
1903@deftypevr {gdbmtool variable} numeric blocksize
1904Sets the block size. @xref{Open, block_size}. Unset by default.
1905@end deftypevr
1906
1907@anchor{openvar} 1907@anchor{openvar}
1908@deftypevr {gdbmtool variable} string open 1908@deftypevr {gdbmtool variable} string open
1909Open mode. The following values are allowed: 1909Open mode. The following values are allowed:
@@ -2370,7 +2370,7 @@ By default the utility creates dumps in ASCII format (@pxref{Flat
2370files,ASCII}). Another format can be requested using the 2370files,ASCII}). Another format can be requested using the
2371@option{--format} (@option{-H}) option. 2371@option{--format} (@option{-H}) option.
2372 2372
2373The @command{gdbm_load} utility understands the following command line 2373The @command{gdbm_dump} utility understands the following command line
2374options: 2374options:
2375 2375
2376@table @option 2376@table @option
@@ -2405,18 +2405,31 @@ The format of the input file is detected automatically.
2405By default the utility attempts to restore the database under its 2405By default the utility attempts to restore the database under its
2406original name, as stored in the input file. It will fail to do so if 2406original name, as stored in the input file. It will fail to do so if
2407the input is in binary format. In that case, the name of the database 2407the input is in binary format. In that case, the name of the database
2408to create can be given as the second argument. 2408must be given as the second argument.
2409 2409
2410In general, if two arguments are given, the second one is treated as 2410In general, if two arguments are given the second one is treated as
2411the name of the database to create, overriding the file name specified 2411the name of the database to create, overriding the file name specified
2412in the flat file. 2412in the flat file.
2413 2413
2414The utility understands the following command line arguments: 2414The utility understands the following command line arguments:
2415 2415
2416@table @option 2416@table @option
2417
2418@item -b @var{num}
2419@itemx --block-size=@var{num}
2420Sets block size. @xref{Open, block_size}.
2421
2422@item -c @var{num}
2423@itemx --cache-size=@var{num}
2424Sets cache size. @xref{Options, GDBM_SETCACHESIZE}.
2425
2426@item -M
2427@itemx --mmap
2428Use memory mapping.
2429
2417@item -m @var{mode} 2430@item -m @var{mode}
2418@item --mode=@var{mode} 2431@item --mode=@var{mode}
2419Set file mode. The argument is the desired file mode in octal. 2432Sets the file mode. The argument is the desired file mode in octal.
2420 2433
2421@item -n 2434@item -n
2422@itemx --no-meta 2435@itemx --no-meta

Return to:

Send suggestions and report system problems to the System administrator.