description | library for NBD client connections in userspace |
homepage URL | http://libguestfs.org |
repository URL | https://github.com/libguestfs/libnbd.git |
owner | eblake@redhat.com |
last change | Wed, 22 Mar 2023 16:32:08 +0000 (22 17:32 +0100) |
last refresh | Sat, 27 Apr 2024 09:26:32 +0000 (27 11:26 +0200) |
mirror URL | git://repo.or.cz/libnbd.git |
https://repo.or.cz/libnbd.git | |
ssh://git@repo.or.cz/libnbd.git | |
bundle info | libnbd.git downloadable bundles |
content tags |
NBD — Network Block Device — is a protocol for accessing Block Devices (hard disks and disk-like things) over a Network. This is the NBD client library in userspace, a simple library for writing NBD clients.
The key features are:
For documentation, see the docs and examples subdirectories.
The software is Copyright Red Hat and licensed under the GNU Lesser General Public License version 2 or above (LGPLv2+). See the file COPYING.LIB for details. The examples are under a very liberal license.
To build from git:
autoreconf -i
./configure
make
make check
To build from tarball:
./configure
make
make check
To run the tests under valgrind:
make check-valgrind
To run benchmarks:
make bench
Some tests require root permissions (and are therefore risky). If you want to run these tests, do:
sudo make check-root
On FreeBSD, OpenBSD and macOS which do not have GNU make by default
you must use gmake
instead of make
.
Requirements:
Required for building from git, optional for building from tarballs:
Recommended - if not present, some features will be disabled:
Optional:
Optional, only needed to run the test suite:
Optional, only needed to run some examples:
Tarballs are available from: http://libguestfs.org/download/libnbd
Install the valgrind program and development headers.
Use:
./configure --enable-gcc-warnings --enable-python-code-style
When testing use:
make check
make check-valgrind
Use the following one-time setup for nicer diffs of various files:
git config diff.ml.xfuncname '^(type|and|val|let) .*='
git config diff.ml-api.xfuncname '^(let .*=| "[^"]*", \{$)'
git config diff.mli.xfuncname '^(type|and|val|module) '
git config diff.states.xfuncname '^([a-zA-Z_].*| [A-Z._0-9]*:$)'
For development ideas, see the TODO file.
The upstream git repository is: https://gitlab.com/nbdkit/libnbd
Patches are accepted either by email to the upstream mailing list: https://www.redhat.com/mailman/listinfo/libguestfs or by Merge Request on gitlab.com
If you want to fuzz the library see fuzzing/README.
13 months ago | v1.15.12 | Version 1.15.12. | tag | commitlog |
13 months ago | v1.15.11 | Version 1.15.11. | tag | commitlog |
14 months ago | v1.15.10 | Version 1.15.10. | tag | commitlog |
15 months ago | v1.15.9 | Version 1.15.9. | tag | commitlog |
15 months ago | v1.14.2 | Version 1.14.2. | tag | commitlog |
17 months ago | v1.15.8 | Version 1.15.8. | tag | commitlog |
17 months ago | v1.15.7 | Version 1.15.7. | tag | commitlog |
18 months ago | v1.15.6 | Version 1.15.6. | tag | commitlog |
18 months ago | v1.15.5 | Version 1.15.5. | tag | commitlog |
19 months ago | v1.15.4 | Version 1.15.4. | tag | commitlog |
19 months ago | v1.15.3 | Version 1.15.3. | tag | commitlog |
19 months ago | v1.15.2 | Version 1.15.2. | tag | commitlog |
20 months ago | v1.15.1 | Version 1.15.1. | tag | commitlog |
20 months ago | v1.14.1 | Version 1.14.1. | tag | commitlog |
20 months ago | v1.14.0 | Version 1.14.0. | tag | commitlog |
20 months ago | v1.12.7 | Version 1.12.7. | tag | commitlog |
... |
13 months ago | master | logtree |
13 months ago | rhel-9.3 | logtree |
15 months ago | stable-1.14 | logtree |
15 months ago | rhel-9.2 | logtree |
20 months ago | stable-1.12 | logtree |
21 months ago | rhel-9.1 | logtree |
2 years ago | stable-1.10 | logtree |
2 years ago | rhel-9.0 | logtree |
2 years ago | rhel-8.6 | logtree |
2 years ago | stable-1.6 | logtree |
2 years ago | stable-1.8 | logtree |
2 years ago | rhel-9.0-beta | logtree |
3 years ago | stable-1.4 | logtree |
3 years ago | rhel-8.4 | logtree |
3 years ago | stable-1.2 | logtree |
3 years ago | rhel-8.3 | logtree |
... |
libnbd/ericb.git | eblake@redhat.com | 8 months ago | summarylogtree |