Documentation update for list exports nbd-3.1
authorWouter Verhelst <w@uter.be>
Tue, 15 May 2012 08:10:04 +0000 (10:10 +0200)
committerWouter Verhelst <w@uter.be>
Tue, 15 May 2012 08:10:04 +0000 (10:10 +0200)
man/nbd-client.8.in.sgml
man/nbd-server.5.in.sgml

index 81e003e..b375dd0 100644 (file)
@@ -74,6 +74,10 @@ manpage.1: manpage.sgml
       <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>
@@ -167,6 +171,22 @@ manpage.1: manpage.sgml
        </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>
index 48ea89b..cd43be5 100644 (file)
@@ -110,6 +110,18 @@ manpage.1: manpage.sgml
     <!-- 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>