Message ID | 20141008181610.GA27382@grep.be |
---|---|
State | New |
Headers | show |
Il 08/10/2014 20:16, Wouter Verhelst ha scritto: > @@ -242,10 +242,13 @@ Option types > * NBD_OPT_EXPORT_NAME (1) > Choose the export which the client would like to use, and end option > haggling. Data: name of the export, free-form UTF8 text (subject to > limitations by server implementation). If the chosen export does not > exist, the server closes the connection. > + A special, "empty", name (i.e., the length field is zero and no name > + is specified), is reserved for a "default" export, to be used in cases > + where explicitly specifying an export name makes no sense. Thanks, this looks good! Paolo
diff --git a/doc/proto.txt b/doc/proto.txt index e0a4fb1..990d012 100644 --- a/doc/proto.txt +++ b/doc/proto.txt @@ -242,10 +242,13 @@ Option types * NBD_OPT_EXPORT_NAME (1) Choose the export which the client would like to use, and end option haggling. Data: name of the export, free-form UTF8 text (subject to limitations by server implementation). If the chosen export does not exist, the server closes the connection. + A special, "empty", name (i.e., the length field is zero and no name + is specified), is reserved for a "default" export, to be used in cases + where explicitly specifying an export name makes no sense. * NBD_OPT_ABORT (2) Abort negotiation and close the connection. Optional. * NBD_OPT_LIST (3)