| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>MHonArc Resources: LOCK</title> |
| 5 | </head> |
| 6 | <body> |
| 7 | <!--x-rc-nav--> |
| 8 | <table border=0><tr valign="top"> |
| 9 | <td align="left" width="50%">[Prev: <a href="localdatefmt.html">LOCALDATEFMT</a>]</td><td><nobr>[<a href="../resources.html#lock">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next: <a href="lockdelay.html">LOCKDELAY</a>]</td></tr></table> |
| 10 | <!--/x-rc-nav--> |
| 11 | <hr> |
| 12 | <h1>LOCK</h1> |
| 13 | |
| 14 | <!-- *************************************************************** --> |
| 15 | <hr> |
| 16 | <h2>Syntax</h2> |
| 17 | |
| 18 | <dl> |
| 19 | |
| 20 | <dt><strong>Envariable</strong></dt> |
| 21 | <dd><p>N/A |
| 22 | </p> |
| 23 | </dd> |
| 24 | |
| 25 | <dt><strong>Element</strong></dt> |
| 26 | <dd><p>N/A |
| 27 | </p> |
| 28 | </dd> |
| 29 | |
| 30 | <dt><strong>Command-line Option</strong></dt> |
| 31 | <dd><p><br> |
| 32 | <code>-lock</code><br> |
| 33 | <code>-nolock</code> |
| 34 | </p> |
| 35 | </dd> |
| 36 | |
| 37 | </dl> |
| 38 | |
| 39 | <!-- *************************************************************** --> |
| 40 | <hr> |
| 41 | <h2>Description</h2> |
| 42 | |
| 43 | <p>When LOCK is On, MHonArc performs attempts to create a lock |
| 44 | before processing an archive. When off, no lock is performed |
| 45 | (contrast with <a href="force.html">FORCE</a>). |
| 46 | </p> |
| 47 | |
| 48 | <table border=0 cellpadding=4> |
| 49 | <tr valign=top> |
| 50 | <td><strong><font color="red">WARNING</font></strong></td> |
| 51 | <td><p>If LOCK is off, MHonArc will process the archive even |
| 52 | if another MHonArc is active for the archive. This can lead |
| 53 | to archive corruption. |
| 54 | </p> |
| 55 | </td> |
| 56 | </tr> |
| 57 | </table> |
| 58 | |
| 59 | <p>A reason to turn off LOCK is if MHonArc is being invoked |
| 60 | from another process (like <b>Procmail</b>) that has its own |
| 61 | locking mechanism to insure multiple instances cannot be |
| 62 | accessing the same archive at the same time. |
| 63 | </p> |
| 64 | |
| 65 | <!-- *************************************************************** --> |
| 66 | <hr> |
| 67 | <h2>Default Setting</h2> |
| 68 | |
| 69 | <p>On. |
| 70 | </p> |
| 71 | |
| 72 | <!-- *************************************************************** --> |
| 73 | <hr> |
| 74 | <h2>Resource Variables</h2> |
| 75 | |
| 76 | <p>N/A |
| 77 | </p> |
| 78 | |
| 79 | <!-- *************************************************************** --> |
| 80 | <hr> |
| 81 | <h2>Examples</h2> |
| 82 | |
| 83 | <p>None. |
| 84 | </p> |
| 85 | |
| 86 | <!-- *************************************************************** --> |
| 87 | <hr> |
| 88 | <h2>Version</h2> |
| 89 | |
| 90 | <p>2.3.0 |
| 91 | </p> |
| 92 | |
| 93 | <!-- *************************************************************** --> |
| 94 | <hr> |
| 95 | <h2>See Also</h2> |
| 96 | |
| 97 | <p> |
| 98 | <a href="force.html">FORCE</a>, |
| 99 | <a href="lockdelay.html">LOCKDELAY</a>, |
| 100 | <a href="lockmethod.html">LOCKMETHOD</a>, |
| 101 | <a href="locktries.html">LOCKTRIES</a> |
| 102 | </p> |
| 103 | |
| 104 | <!-- *************************************************************** --> |
| 105 | <hr> |
| 106 | <!--x-rc-nav--> |
| 107 | <table border=0><tr valign="top"> |
| 108 | <td align="left" width="50%">[Prev: <a href="localdatefmt.html">LOCALDATEFMT</a>]</td><td><nobr>[<a href="../resources.html#lock">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next: <a href="lockdelay.html">LOCKDELAY</a>]</td></tr></table> |
| 109 | <!--/x-rc-nav--> |
| 110 | <hr> |
| 111 | <address> |
| 112 | $Date: 2002/07/27 05:13:10 $ <br> |
| 113 | <img align="top" src="../monicon.png" alt=""> |
| 114 | <a href="http://www.mhonarc.org/" |
| 115 | ><strong>MHonArc</strong></a><br> |
| 116 | Copyright © 1998-1999 <a href="http://www.earlhood.com/" |
| 117 | >Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org" |
| 118 | >mhonarc@mhonarc.org</a><br> |
| 119 | </address> |
| 120 | |
| 121 | </body> |
| 122 | </html> |