search for: nbd_rep_err_notdir

Displaying 2 results from an estimated 2 matches for "nbd_rep_err_notdir".

2020 Jul 21
0
Re: Extending nbdkit to support listing exports
...tics of NBD_OPT_LIST only lend themselves to returning 4 NBD_REP_SERVER replies in a row: "f1", "dir1/f2", "dir1/f3", "dir2/f4". But what if the protocol added NBD_OPT_LIST_HIER which took a starting point argument, and new replies NBD_REP_SERVER_DIR and NBD_REP_ERR_NOTDIR, such that we could then have: NBD_OPT_LIST_HIER("") => SERVER("f1"), SERVER_DIR("dir1/"), SERVER_DIR("dir2/") NBD_OPT_LIST_HIER("dir1/") => SERVER("dir1/f2"), SERVER("dir1/f3") NBD_OPT_LIST_HIER("dir2/") =>...
2020 Jul 21
3
Extending nbdkit to support listing exports
Hi Eric, Nir. $SUBJECT - it's complicated! Imagine a scenario where we have extended the file plugin so you can point it at a directory and it will use the client-supplied export name to select a file to serve. Also we have extended the tar filter so that you can map tar file components into export names. You may be able to see where this is going ... Now we point the file plugin at a