Displaying 2 results from an estimated 2 matches for "nbdkitii3pzw".
2020 Oct 06
2
[PATCH libnbd] info: Write output atomically.
...re the error
message (albeit on different channels). Here is an example:
$ nbdkit eval open='echo EIO fail >&2; exit 1' --run 'nbdinfo --json "$uri"'
{
"protocol": "newstyle-fixed",
"TLS": false,
nbdkit: eval[1]: error: /tmp/nbdkitii3pZW/open: fail
nbdkit: eval[1]: error: /tmp/nbdkitii3pZW/open: fail
nbdinfo: nbd_opt_go: server replied with error to opt_go request: No such file or directory
Notice the partial JSON document, and the error message from nbdinfo.
With this commit nbdinfo tries to produce either the complete outpu...
2020 Oct 06
0
Re: [PATCH libnbd] info: Write output atomically.
...n different channels). Here is an example:
>
> $ nbdkit eval open='echo EIO fail >&2; exit 1' --run 'nbdinfo --json "$uri"'
> {
> "protocol": "newstyle-fixed",
> "TLS": false,
> nbdkit: eval[1]: error: /tmp/nbdkitii3pZW/open: fail
> nbdkit: eval[1]: error: /tmp/nbdkitii3pZW/open: fail
> nbdinfo: nbd_opt_go: server replied with error to opt_go request: No such file or directory
>
> Notice the partial JSON document, and the error message from nbdinfo.
>
> With this commit nbdinfo tries to pro...