Since 3.27.0 the systemd service no longer works, since e.g. nbd-client nbd0 no longer works.
However, using nbd-client /dev/nbd0 will result in get_from_config "stripping" the /dev/ prefix. However nbd-client will later check that this prefix is present and error if it is not:
sysadmin@host:~$ sudo nbd-client /dev/nbd2
Negotiation: ..size = 393216MB
Error: Invalid nbd device target
Exiting.
Since 3.27.0 the systemd service no longer works, since e.g.
nbd-client nbd0no longer works.However, using
nbd-client /dev/nbd0will result inget_from_config"stripping" the/dev/prefix. Howevernbd-clientwill later check that this prefix is present and error if it is not:sysadmin@host:~$ sudo nbd-client /dev/nbd2 Negotiation: ..size = 393216MB Error: Invalid nbd device target Exiting.