go-nbd
go-nbd copied to clipboard
Pure Go NBD server and client library.
I'm trying to write an [automated interop test](https://gitlab.com/nbdkit/libnbd/-/tree/master/interop?ref_type=heads) for libnbd & go-nbd. However there seems to be know way to know when the server is ready and listening for requests....
To make go-nbd easier to use from libnbd or systemd, you should probably add support for systemd socket activation. This doesn't require or involve libnbd or systemd, it just means...
Just want to make you aware of the [NBD URI specification](https://github.com/NetworkBlockDevice/nbd/blob/master/doc/uri.md). It's a simple extension of the basic NBD protocol, allowing an easy and cross-client way for NBD endpoints to...
The [NBD protocol](https://github.com/NetworkBlockDevice/nbd/blob/master/doc/proto.md) says ... > 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...
if Size() function of the FileBackend would be revised as below, standard block devices could be mounted successfully from client side. func (b *FileBackend) Size() (int64, error) { stat, err...
Currently, the server supports advertising multi-conn capabilities (see #4) , but the integrated client is not able to make use of this. If we call `NBD_SET_SOCK` more times than 1,...
Probably should use a more liberally licensed library.