search for: nbdx

Displaying 5 results from an estimated 5 matches for "nbdx".

Did you mean: nbd
2018 Sep 17
0
nbdkit -c /dev/nbdX option
...ikes me as clunky: rm -f /tmp/sock nbdkit -U /tmp/sock file foo nbd-client -u /tmp/sock /dev/nbd0 ... nbd-client -d /dev/nbd0 killall nbdkit In qemu-nbd, all that is just this: qemu-nbd -c /dev/nbd0 foo It seems like it would be nice to implement an ‘nbdkit -c /dev/nbdX’ option. My first idea was: nbdkit -c /dev/nbdX ==> nbdkit -U [sock] & running: nbd-client -nofork -u [sock] /dev/nbdX However that still leaves the need for end users to manually delete the nbdX device & kill nbdkit. If I'm understanding the qemu co...
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...+ fn_len = strlen(de->d_name); + if (strcmp(de->d_name+(fn_len-5), ".conf")) + continue; + + if (!(filename = malloc(dn_len + 1 + fn_len + 1))) + goto nomem; + + sprintf(filename, "%s/%s", dirname, de->d_name); + + if (n_bd >= n_bdx) { + struct blsdata **nbdx; + + nbdx = realloc(bdx, (n_bdx + BLS1_CHUNK) * sizeof *bdx); + if (!nbdx) + goto nomem; + + bdx = nbdx; + n_bdx += BLS1_CHUNK; + } + + nbd = malloc(sizeof(struct blsdata)); + if (!nbd) + goto nomem; + + memset(nbd, 0, sizeof *nbd); + if (parse_bls1_file(nbd, filename) == 0) {...
2019 May 24
3
[PATCH] (vesa)menu.c32: Add support for BLS
...)) + continue; + + if (!(filename = malloc(dn_len + 1 + fn_len + 1))) + goto nomem; + + strcpy(filename, dirname); + strcat(filename, "/"); + strcat(filename, de->d_name); + + if (n_bd >= n_bdx) { + struct blsdata **nbdx; + + nbdx = realloc(bdx, (n_bdx + BLS_CHUNK) * sizeof *bdx); + if (!nbdx) + goto nomem; + + bdx = nbdx; + n_bdx += BLS_CHUNK; + } + + nbd = malloc(sizeof(struct blsdata)); + if (!nbd) + goto nomem; + +...
2019 Oct 14
0
Re: [PATCH libnbd] nbdfuse: New tool to present a network block device in a FUSE filesystem.
...) or > +various other modes. > + > +Use C<fusermount -u MOUNTPOINT> to unmount the filesystem after you > +have used it. Does umount(8) call into fusermount correctly? > + > +This program is similar in concept to L<nbd-client(8)> (which turns > +NBD into F</dev/nbdX> device nodes), except: Is it worth mentioning that qemu-nbd(8) alongside nbd-client(8)? > + > +=over 4 > + > +=item * > + > +nbd-client is faster because it uses a special kernel module > + > +=item * > + > +nbd-client requires root, but nbdfuse can be used by an...
2019 Oct 12
3
[PATCH libnbd] nbdfuse: New tool to present a network block device in a FUSE filesystem.
...ified by an +NBD URI (like C<nbd://localhost>, see L<nbd_connect_uri(3)>) or +various other modes. + +Use C<fusermount -u MOUNTPOINT> to unmount the filesystem after you +have used it. + +This program is similar in concept to L<nbd-client(8)> (which turns +NBD into F</dev/nbdX> device nodes), except: + +=over 4 + +=item * + +nbd-client is faster because it uses a special kernel module + +=item * + +nbd-client requires root, but nbdfuse can be used by any user + +=item * + +nbdfuse virtual files can be mounted anywhere in the filesystem + +=item * + +nbdfuse uses libnb...