| 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 6 | <title>set_create_dir</title> |
| 7 | <link rel="stylesheet" href="apiReference.css" type="text/css" /> |
| 8 | <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> |
| 9 | <link rel="start" href="index.html" title="Berkeley DB C API Reference" /> |
| 10 | <link rel="up" href="configuration_reference.html" title="Appendix D. DB_CONFIG Parameter Reference" /> |
| 11 | <link rel="prev" href="set_cache_max_parameter.html" title="set_cache_max" /> |
| 12 | <link rel="next" href="set_data_len_parameter.html" title="set_data_len" /> |
| 13 | </head> |
| 14 | <body> |
| 15 | <div xmlns="" class="navheader"> |
| 16 | <div class="libver"> |
| 17 | <p>Library Version 11.2.5.3</p> |
| 18 | </div> |
| 19 | <table width="100%" summary="Navigation header"> |
| 20 | <tr> |
| 21 | <th colspan="3" align="center">set_create_dir</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="set_cache_max_parameter.html">Prev</a> </td> |
| 25 | <th width="60%" align="center">Appendix D. DB_CONFIG Parameter Reference</th> |
| 26 | <td width="20%" align="right"> <a accesskey="n" href="set_data_len_parameter.html">Next</a></td> |
| 27 | </tr> |
| 28 | </table> |
| 29 | <hr /> |
| 30 | </div> |
| 31 | <div class="sect1" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="set_create_dir_parameter"></a>set_create_dir</h2></div></div></div><p> |
| 32 | Sets the path of a directory to be used as the location to create the access method database files. |
| 33 | </p><p> |
| 34 | The syntax of this parameter in the <a href="../../programmer_reference/env_db_config.html#env_db_config.DB_CONFIG" class="olink">DB_CONFIG</a> file is a |
| 35 | single line with the string |
| 36 | <code class="literal">set_create_dir</code>, one or more whitespace |
| 37 | characters, and the directory name. |
| 38 | </p><p> |
| 39 | For example: |
| 40 | </p><pre class="programlisting">set_create_dir /b/data2</pre> |
| 41 | Sets data2 as the location to create the access method database files. When the |
| 42 | <a class="xref" href="dbopen.html" title="DB->open()">DB->open()</a> function is used to |
| 43 | create a file, it will be created relative to this path. |
| 44 | <p> For more information, see <a class="xref" href="envset_create_dir.html" title="DB_ENV->set_create_dir()">DB_ENV->set_create_dir()</a>.</p></div> |
| 45 | <div class="navfooter"> |
| 46 | <hr /> |
| 47 | <table width="100%" summary="Navigation footer"> |
| 48 | <tr> |
| 49 | <td width="40%" align="left"><a accesskey="p" href="set_cache_max_parameter.html">Prev</a> </td> |
| 50 | <td width="20%" align="center"> |
| 51 | <a accesskey="u" href="configuration_reference.html">Up</a> |
| 52 | </td> |
| 53 | <td width="40%" align="right"> <a accesskey="n" href="set_data_len_parameter.html">Next</a></td> |
| 54 | </tr> |
| 55 | <tr> |
| 56 | <td width="40%" align="left" valign="top">set_cache_max </td> |
| 57 | <td width="20%" align="center"> |
| 58 | <a accesskey="h" href="index.html">Home</a> |
| 59 | </td> |
| 60 | <td width="40%" align="right" valign="top"> set_data_len</td> |
| 61 | </tr> |
| 62 | </table> |
| 63 | </div> |
| 64 | </body> |
| 65 | </html> |