From d20b5e3b71bc513643d7220d96487c436f9d9bf8 Mon Sep 17 00:00:00 2001 From: Wouter Verhelst Date: Tue, 27 Jul 2010 22:56:30 -0400 Subject: [PATCH] Documentation updates - Document -N / -name option - Some generic docbook fixes --- nbd-client.8.sgml | 51 +++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 37 insertions(+), 14 deletions(-) diff --git a/nbd-client.8.sgml b/nbd-client.8.sgml index fa30f70..421397d 100644 --- a/nbd-client.8.sgml +++ b/nbd-client.8.sgml @@ -1,4 +1,4 @@ - manpage.1'. You may view @@ -55,15 +55,16 @@ manpage.1: manpage.sgml &dhpackage; - - - - - - - - - + host + port + nbd-device + -sdp + -swap + -persist + -nofork + -block-size block size + -timeout seconds + -name name &dhpackage; @@ -99,6 +100,7 @@ manpage.1: manpage.sgml + Use a blocksize of "block size". Default is 1024; allowed values are either 512, 1024, 2048 or 4096 @@ -113,7 +115,9 @@ manpage.1: manpage.sgml - + + Set the connection timeout to "seconds". For this to work, you need a kernel with support for the NBD_SET_TIMEOUT @@ -126,6 +130,8 @@ manpage.1: manpage.sgml The TCP port on which nbd-server is running at the server. + This option is required, unless the -N option is + specified, in which case it is not allowed. @@ -136,7 +142,8 @@ manpage.1: manpage.sgml - -c + + Check whether the specified nbd device is connected. @@ -152,14 +159,16 @@ manpage.1: manpage.sgml - -d + + Disconnect the specified nbd device from the server - -persist + + When this option is specified, &dhpackage; will immediately try to reconnect an nbd device if the @@ -169,6 +178,7 @@ manpage.1: manpage.sgml + Connect to the server using the Socket Direct Protocol (SDP), rather than IP. See nbd-server(1) for details. @@ -177,6 +187,7 @@ manpage.1: manpage.sgml + Specifies that this NBD device will be used as swapspace. This option attempts to prevent deadlocks by @@ -186,9 +197,21 @@ manpage.1: manpage.sgml + Specifies that the NBD client should not detach and daemonize itself. This is mostly useful for debugging. + + + + + + + + Specifies the name of the export that we want to use. Required if + the port is not specified, not allowed in the other case. + + -- 1.7.10.4