<command>&dhpackage;</command>
<arg choice="plain"><option>-c <replaceable>nbd-device</replaceable></option></arg>
</cmdsynopsis>
+ <cmdsynopsis>
+ <command>&dhpackage;</command>
+ <arg choice="plain"><option>-l <replaceable>host</replaceable></option></arg>
+ </cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
</listitem>
</varlistentry>
<varlistentry>
+ <term><option>-list</option></term>
+ <term><option>-l</option></term>
+ <listitem>
+ <para>
+ Ask the server for a list of available exports. If the
+ server is exporting over IPv6 as well as over IPv4, this
+ will list all exports twice; otherwise, it should list them
+ all only once.</para>
+ <para>Note that this option <emph>only</emph> works
+ with nbd-server processes running version 3.1 or above, and
+ must be enabled in server configuration (with the
+ "allowlist" option) before it can be used.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><option>-persist</option></term>
<term><option>-p</option></term>
<listitem>
<!-- These are in alphabetical order, please keep it that way -->
<variablelist>
<varlistentry>
+ <term><option>allowlist</option></term>
+ <listitem>
+ <para>
+ Optional; boolean
+ </para>
+ <para>
+ Whether to allow the client to fetch a list of exports from
+ this server. If enabled, the client can run
+ <command>nbd-client -l</command> to get a list of exports
+ on this server.
+ </para>
+ <varlistentry>
<term><option>group</option></term>
<listitem>
<para>