.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng <steve@ggi-project.org>.
-.TH "NBD-CLIENT" "8" "30 April 2009" "" ""
+.TH "NBD-CLIENT" "8" "01 April 2010" "" ""
.SH NAME
nbd-client \- connect to a server running nbd-server(1), to use its exported block device
.SH SYNOPSIS
-\fBnbd-client\fR [ \fBbs=\fIblocksize\fB\fR ] [ \fBtimeout=\fIseconds\fB\fR ] \fB\fIhost\fB\fR \fB\fIport\fB\fR \fB\fInbd-device\fB\fR [ \fB-sdp\fR ] [ \fB-swap\fR ] [ \fB-persist\fR ]
+\fBnbd-client\fR [ \fBbs=\fIblocksize\fB\fR ] [ \fBtimeout=\fIseconds\fB\fR ] \fB\fIhost\fB\fR \fB\fIport\fB\fR \fB\fInbd-device\fB\fR [ \fB-sdp\fR ] [ \fB-swap\fR ] [ \fB-persist\fR ] [ \fB-nofork\fR ]
\fBnbd-client\fR \fB-d \fInbd-device\fB\fR
allowed values are either 512, 1024, 2048 or 4096
.TP
\fBhost\fR
-The hostname of the machine running
-\fBnbd-server\fR\&.
+The hostname or IP address of the machine running
+\fBnbd-server\fR\&. Since 2.9.15, the NBD
+utilities support IPv6.
.TP
\fBtimeout=\fIseconds\fB\fR
Set the connection timeout to "seconds". For this to
.TP
\fB-swap\fR
Specifies that this NBD device will be used as
-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
+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.
+.TP
+\fB-nofork\fR
+Specifies that the NBD client should not detach and
+daemonize itself. This is mostly useful for debugging.
.SH "EXAMPLES"
.PP
Some examples of nbd-client usage: