Initial implementation of named exports
[nbd.git] / nbd-client.8.sgml
index ef120d9..65f0e21 100644 (file)
@@ -55,8 +55,6 @@ manpage.1: manpage.sgml
   <refsynopsisdiv>
     <cmdsynopsis>
       <command>&dhpackage;</command>
-      <arg><option>bs=<replaceable>blocksize</replaceable></option></arg>
-      <arg><option>timeout=<replaceable>seconds</replaceable></option></arg>
       <arg choice=plain><option><replaceable>host</replaceable></option></arg>
       <arg choice=plain><option><replaceable>port</replaceable></option></arg>
       <arg choice=plain><option><replaceable>nbd-device</replaceable></option></arg>
@@ -64,6 +62,8 @@ manpage.1: manpage.sgml
       <arg><option>-swap</option></arg>
       <arg><option>-persist</option></arg>
       <arg><option>-nofork</option></arg>
+      <arg><option>-block-size <replaceable>block size</replaceable></option></arg>
+      <arg><option>-timeout <replaceable>seconds</replaceable></option></arg>
     </cmdsynopsis>
     <cmdsynopsis>
       <command>&dhpackage;</command>
@@ -96,21 +96,22 @@ manpage.1: manpage.sgml
 
     <variablelist>
       <varlistentry>
-       <term><option>bs=<replaceable>blocksize</replaceable></option></term>
+       <term><option>-block-size <replaceable>block size</replaceable></option></term>
        <listitem>
-         <para>Use a blocksize of "blocksize". Default is 1024;
+         <para>Use a blocksize of "block size". Default is 1024;
            allowed values are either 512, 1024, 2048 or 4096</para>
        </listitem>
       </varlistentry>
       <varlistentry>
        <term><option>host</option></term>
        <listitem>
-         <para>The hostname of the machine running
-           <command>nbd-server</command>.</para>
+         <para>The hostname or IP address of the machine running
+           <command>nbd-server</command>. Since 2.9.15, the NBD
+           utilities support IPv6.</para>
        </listitem>
       </varlistentry>
       <varlistentry>
-       <term><option>timeout=<replaceable>seconds</replaceable></option></term>
+       <term><option>-timeout <replaceable>seconds</replaceable></option></term>
        <listitem>
          <para>Set the connection timeout to "seconds". For this to
          work, you need a kernel with support for the NBD_SET_TIMEOUT
@@ -197,9 +198,9 @@ manpage.1: manpage.sgml
       <listitem>
        <para>To connect to a server running on port 2000 at host
          "server.domain.com", using the client's block special file
-         "/dev/nb0":</para>
+         "/dev/nbd0":</para>
        <para><command>nbd-client server.domain.com 2000
-         /dev/nb0</command></para>
+         /dev/nbd0</command></para>
       </listitem>
       <listitem>
        <para>To connect to a server running on port 2001 at host