- 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>
+ <term><option>-n</option></term>
+ <listitem>
+ <para>Specifies that the NBD client should not detach and
+ daemonize itself. This is mostly useful for debugging.</para>
+ <para>
+ Note that nbd-client will still fork once to trigger an
+ update to the device node's partition table. It is not
+ possible to disable this.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-name</option></term>
+ <term><option>-N</option></term>
+ <listitem>
+ <para>
+ Specifies the name of the export that we want to use. Required if
+ the port is not specified, not allowed in the other case.
+ </para>