Utility to attach pblock connection as a block device.
Under the hood it uses nbd kernel interface and BUSE to communicate with it.
pblock
doesn't have notion of file size and nbd
requires it to create block device. As a result you have to pass device size in pblock-bd
command args.
I didn't found any information about nbd
being transactional, so currently every read or write on nbd
is wrapped in separate pblock
transaction.
make install PREFIX=~/.local
Dependencies:
Currently tests require root previlages. Test runner uses sudo
to provide them.
To run tests:
make test