1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
<!--$Id: env_remove.html,v 1.1.1.1 2003/11/20 22:14:35 toshok Exp $-->
<!--$Id: env_remove.html,v 1.1.1.1 2003/11/20 22:14:35 toshok Exp $-->
<!--Copyright 1997-2002 by Sleepycat Software, Inc.-->
<!--All rights reserved.-->
<!--See the file LICENSE for redistribution information.-->
<html>
<head>
<title>Berkeley DB: berkdb envremove</title>
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
</head>
<body bgcolor=white>
<a name="2"><!--meow--></a>
<table width="100%"><tr valign=top>
<td>
<h1><b>berkdb envremove</b></h1>
</td>
<td align=right>
<a href="../api_tcl/tcl_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
</td></tr></table>
<hr size=1 noshade>
<tt>
<h3><pre>berkdb envremove
[-data_dir directory]
[-force]
[-home directory]
[-log_dir directory]
[-tmp_dir directory]
[-use_environ]
[-use_environ_root]
</pre></h3>
<h1>Description</h1>
<p>Remove a Berkeley DB environment.
<p>The options are as follows:
<p><dl compact>
<p><dt>-data_dir dirname<dd>Specify the environment's data directory, as described in
<a href="../ref/env/naming.html">Berkeley DB File Naming</a>.
<p><dt>-force<dd>If there are processes that have called <b>berkdb env</b> without calling
<i>env</i> <b>close</b> (that is, there are processes currently using the
environment), <b>berkdb envremove</b> will fail without further action, unless
the <b>-force</b> flag is set, in which case <b>berkdb envremove</b> will
attempt to remove the environment regardless of any processes still
using it.
<p><dt>-home directory<dd>The <b>-home</b> argument is described in
<a href="../ref/env/naming.html">Berkeley DB File Naming</a>.
<p><dt>-log_dir dirname<dd>Specify the environment's log directory, as described in
<a href="../ref/env/naming.html">Berkeley DB File Naming</a>.
<p><dt>-tmp_dir dirname<dd>Specify the environment's tmp directory, as described in
<a href="../ref/env/naming.html">Berkeley DB File Naming</a>.
<p><dt>-use_environ<dd>The Berkeley DB process' environment may be permitted to specify information
to be used when naming files; see
<a href="../ref/env/naming.html">Berkeley DB File Naming</a>.
Because permitting users to specify which files are used can create
security problems, environment information will be used in file naming
for all users only if the <b>-use_environ</b> flag is set.
<p><dt>-use_environ_root<dd>The Berkeley DB process' environment may be permitted to specify information
to be used when naming files; see
<a href="../ref/env/naming.html">Berkeley DB File Naming</a>.
As permitting users to specify which files are used can create security
problems, if the <b>-use_environ_root</b> flag is set, environment
information will be used for file naming only for users with appropriate
permissions (for example, users with a user-ID of 0 on IEEE/ANSI Std 1003.1 (POSIX)
systems).
</dl>
<p>The <b>berkdb envremove</b> command returns 0 on success, and in the case of error, a Tcl error
is thrown.
</tt>
<table width="100%"><tr><td><br></td><td align=right>
<a href="../api_tcl/tcl_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
</td></tr></table>
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>
</body>
</html>
|