Update documentation to reflect new behaviour of -swap option
authorWouter Verhelst <w@uter.be>
Sun, 24 May 2009 07:14:50 +0000 (09:14 +0200)
committerWouter Verhelst <w@uter.be>
Sun, 24 May 2009 07:14:50 +0000 (09:14 +0200)
nbd-client.8.sgml

index 8d2f5d0..ef120d9 100644 (file)
@@ -63,6 +63,7 @@ manpage.1: manpage.sgml
       <arg><option>-sdp</option></arg>
       <arg><option>-swap</option></arg>
       <arg><option>-persist</option></arg>
+      <arg><option>-nofork</option></arg>
     </cmdsynopsis>
     <cmdsynopsis>
       <command>&dhpackage;</command>
@@ -175,12 +176,17 @@ manpage.1: manpage.sgml
        <term><option>-swap</option></term>
        <listitem>
          <para>Specifies that this NBD device will be used as
-           swapspace. If you intend to do that, please use this
-           option to prevent deadlocks. You'll need a special kernel
-           patch, available at NBD's homepage:
-           http://atrey.karlin.mff.cuni.cz/~pavel</para>
+         swapspace. This option attempts to prevent deadlocks by
+         performing mlockall() at an appropriate time. It does not
+         however guarantee that such deadlocks can be avoided.</para>
        </listitem>
       </varlistentry>
+      <varlistentry>
+        <term><option>-nofork</option></term>
+       <listitem>
+         <para>Specifies that the NBD client should not detach and
+         daemonize itself. This is mostly useful for debugging.</para>
+      </varlistentry>
     </variablelist>
   </refsect1>
   <refsect1>