Open rwmjones opened 7 months ago
Actually the server supports multiple exports: https://github.com/pojntfx/go-nbd/blob/b9d19c256a0369ed074eaa18121bdf2eea9534d0/pkg/server/nbd.go#L41
Maybe provide a way for one of them to be flagged as the default export; or choose the first in the list as the default?
(Adding @ebblake)
Interesting; would simply using an empty string as the export name effectively make that export the default as per the specification?
The NBD protocol says ...
I notice that this server doesn't seem to do this:
Using
--list
shows that there is one export literally calleddefault
:I would suggest mapping the empty string to
default
export as per the specification.