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.
This is the only valid option in nonfixed newstyle negotiation. A
server which wishes to use any other option MUST support fixed
newstyle.
According to the specification, client may be able to use without specifying the volume name, however, torus doesn't have the "default" export. So, I think it should produces the error output as this patch.
https://sourceforge.net/p/nbd/code/ci/master/tree/doc/proto.md
According to the specification, client may be able to use without specifying the volume name, however, torus doesn't have the
"default"
export. So, I think it should produces the error output as this patch.