nbdserve

Crates.ionbdserve
lib.rsnbdserve
version0.1.1
sourcesrc
created_at2018-07-24 23:49:27.358699
updated_at2019-12-27 17:11:13.877328
descriptionSimple network block device server
homepage
repositoryhttps://github.com/vi/nbdserve
max_upload_size
id75824
size5,885
Vitaly Shukela (vi)

documentation

README

nbdserve

Simple network block device server. Created because of usual nbd-server is tricky-ish to cross-compile. Also it typically requires config file, which is inconvenient for one-off use.

There are pre-built versions for Linux, Mac, Windows and Android on releases page.

IPv6 is supported, use options like -a [::1].

nbdserve 0.1.0
Vitaly "_Vi" Shukela <vi0oss@gmail.com>
Simple network block device server

USAGE:
    nbdserve [FLAGS] [OPTIONS] <file>

FLAGS:
    -h, --help          Prints help information
    -q, --quiet         Quiet mode, suppress non-error output
    -r, --read-only     Read-only mode
        --resize        Support RESIZE NBD extension (not implemented)
        --rotational    Hint clients that elevator algorithm should be used
        --trim          Convert TRIM operations to FALLOC_FL_PUNCH_HOLE or something (not implemented)
    -V, --version       Prints version information

OPTIONS:
    -a, --addr <host>    Address to listen the port on [default: 127.0.0.1]
    -p, --port <port>    TCP port to listen [default: 10809]
    -s, --size <size>    

ARGS:
    <file>    File or device to be served
Commit count: 8

cargo fmt