libnbd-release-notes-1.6(1)
πΈ NAME πΈ
okay bestie, so this is libnbd-release-notes-1.6 β it's literally the release notes for libnbd 1.6, and the manual it lives in is the LIBNBD manual. that's the whole thing. it's giving "changelog but make it a manpage" π
β¨ DESCRIPTION β¨
These are the release notes for libnbd stable release 1.6, and they spell out the major changes since 1.4. no cap, that's the assignment.
libnbd 1.6.0 was released on 7 January 2021. mark your calendars, bestie ποΈ
π‘οΈ Security
There were, like, zero security issues found in this release. slay β¨
But if you do find a security issue, please read SECURITY in the source (online right here: https://gitlab.com/nbdkit/libnbd/blob/master/SECURITY). and if you wanna know about previous security issues in libnbd, check libnbd-security(3). iykyk π«Ά
π New APIs
okay so this API lets you control how libnbd handles requests from the program that it thinks would trigger undefined behaviour in the server β think sending unknown commands, zero-sized requests, out-of-bounds requests, that whole vibe. normally libnbd is very strict and will straight-up prevent you from sending such requests, but you can use this API to relax those restrictions and let the server handle or reject them instead. β οΈ heads up though: some servers may crash if you do this. not me warning you π
these APIs let you review or clear the requested metadata contexts. cute, useful, iconic π
these request that the server lists available metadata contexts. you can only use this in opt mode β that's the rule, bestie π¨
Thanks: Eric Blake for all of the new APIs. π
π Enhancements to existing APIs
nbd_shutdown(3) has a new flag "LIBNBD_SHUTDOWN_ABANDON_PENDING" which drops any commands in flight which have not been sent to the server yet (Eric Blake). goodbye, unfinished business π
All APIs which have flag (bitmask) parameters now define a "LIBNBD_*_MASK" constant, so you can tell which bits represent valid flags at compilation time (Eric Blake). compile-time clarity is main character energy fr fr β
π₯ New features
The performance of the nbdcopy(1) tool has been greatly improved. also it supports numerous new features. it ate. π₯
New nbdinfo(1) --map option showing the allocated and sparse extents of an NBD server β and it can also show other information such as dirty bitmaps. so much lore in one flag π
π§ Tools
nbdfuse(1) can now mount the NBD export on top of any regular file β it does not have to mount over a directory. glow up π
nbdsh(1) now produces a nice error message if the URI in the -u option or the command in the -c option is wrong (Eric Blake). we love graceful failure π«Ά
New nbdsh(1) --opt-mode option which requests opt mode on the handle before connecting. periodt β¨
nbdinfo(1) --list option now shows the supported metadata contexts of the server (Eric Blake). iconic π
The output of nbdinfo(1) is now usually printed atomically β meaning it will either print the complete output or an error message, but not partial output followed by an error. no half-finished vibes allowed π
nbdinfo(1) can now decode "qemu:allocation-depth" metacontext (Eric Blake). decoding queen π
π¦ Other improvements and bug fixes
- Multiple improvements to handling of NBD protocol (Eric Blake).
- Fix handling of booleans in Python bindings (Eric Blake).
- Fix handling of flags parameters in OCaml bindings (Eric Blake).
- Python style fixes (Eric Blake).
- Fix multiple memory leaks (Eric Blake). bye bye leaks, don't let the door hit you π
- OCaml bindings now include ocamldoc-generated documentation, if
ocamldocis installed at build time. - The
"vector"library from nbdkit is now used by libnbd, simplifying places where we used to userealloc(3). glow up for the codebase β¨
π SEE ALSO
libnbd(3). that's it, that's the list π«Ά
π AUTHORS
Eric Blake
Richard W.M. Jones
legends, both of them π
πΈ COPYRIGHT
Copyright Red Hat
π LICENSE
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. not me reading the whole thing, but okay π
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. β οΈ like, genuinely, no warranty bestie.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. snail mail era fr fr π
okay that's the whole page, and for the cute sign-off: this whole thing comes from source/version libnbd-1.25.8, dated 2026-10-13, and it's the libnbd-release-notes-1.6(1) page β love that for us. mwah πβ¨
π¦ where this page comes from
- centos-stream 10: libnbd-devel 1.25.8-1.el10 Β· LGPL-2.0-or-later AND BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms