diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-12-25 09:31:59 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-12-25 09:31:59 +0000 |
commit | 46e182da4c8a338db22199e003fc2149ee3b1b81 (patch) | |
tree | a7b382936a61ced77d284a6092d450c73e124e73 /doc/gdbm.texinfo | |
parent | 05fa76dfce5311161abbc64c12acbaf56f298e97 (diff) | |
download | gdbm-46e182da4c8a338db22199e003fc2149ee3b1b81.tar.gz gdbm-46e182da4c8a338db22199e003fc2149ee3b1b81.tar.bz2 |
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.
Diffstat (limited to 'doc/gdbm.texinfo')
-rw-r--r-- | doc/gdbm.texinfo | 29 |
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} |
1896 | The following variables control how the database is opened: | 1896 | The following variables control how the database is opened: |
1897 | 1897 | ||
1898 | @deftypevr {gdbmtool variable} numeric blocksize | ||
1899 | Sets 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 |
1899 | Sets the cache size. @xref{Options, GDBM_SETCACHESIZE}. | 1903 | Sets the cache size. @xref{Options, GDBM_SETCACHESIZE}. |
1900 | By default this variable is not set. | 1904 | By default this variable is not set. |
1901 | @end deftypevr | 1905 | @end deftypevr |
1902 | 1906 | ||
1903 | @deftypevr {gdbmtool variable} numeric blocksize | ||
1904 | Sets 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 |
1909 | Open mode. The following values are allowed: | 1909 | Open mode. The following values are allowed: |
@@ -2370,7 +2370,7 @@ By default the utility creates dumps in ASCII format (@pxref{Flat | |||
2370 | files,ASCII}). Another format can be requested using the | 2370 | files,ASCII}). Another format can be requested using the |
2371 | @option{--format} (@option{-H}) option. | 2371 | @option{--format} (@option{-H}) option. |
2372 | 2372 | ||
2373 | The @command{gdbm_load} utility understands the following command line | 2373 | The @command{gdbm_dump} utility understands the following command line |
2374 | options: | 2374 | options: |
2375 | 2375 | ||
2376 | @table @option | 2376 | @table @option |
@@ -2405,18 +2405,31 @@ The format of the input file is detected automatically. | |||
2405 | By default the utility attempts to restore the database under its | 2405 | By default the utility attempts to restore the database under its |
2406 | original name, as stored in the input file. It will fail to do so if | 2406 | original name, as stored in the input file. It will fail to do so if |
2407 | the input is in binary format. In that case, the name of the database | 2407 | the input is in binary format. In that case, the name of the database |
2408 | to create can be given as the second argument. | 2408 | must be given as the second argument. |
2409 | 2409 | ||
2410 | In general, if two arguments are given, the second one is treated as | 2410 | In general, if two arguments are given the second one is treated as |
2411 | the name of the database to create, overriding the file name specified | 2411 | the name of the database to create, overriding the file name specified |
2412 | in the flat file. | 2412 | in the flat file. |
2413 | 2413 | ||
2414 | The utility understands the following command line arguments: | 2414 | The 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} | ||
2420 | Sets block size. @xref{Open, block_size}. | ||
2421 | |||
2422 | @item -c @var{num} | ||
2423 | @itemx --cache-size=@var{num} | ||
2424 | Sets cache size. @xref{Options, GDBM_SETCACHESIZE}. | ||
2425 | |||
2426 | @item -M | ||
2427 | @itemx --mmap | ||
2428 | Use memory mapping. | ||
2429 | |||
2417 | @item -m @var{mode} | 2430 | @item -m @var{mode} |
2418 | @item --mode=@var{mode} | 2431 | @item --mode=@var{mode} |
2419 | Set file mode. The argument is the desired file mode in octal. | 2432 | Sets 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 |