nbdkit-ones-plugin(1)
π nbdkit-ones-plugin π
okay bestie, so this page lives in the NBDKIT manual, and it's literally all about nbdkit-ones-plugin β the plugin that's just... ones. 0xff vibes only. no cap. π«Ά
β¨ NAME β¨
nbdkit-ones-plugin β an nbdkit plugin filled with repeated 0xff or other bytes
like. that's it. that's the plugin. a whole plugin that's just the same byte over and over. iconic behavior honestly. π
πΈ SYNOPSIS πΈ
nbdkit ones [[size=]SIZE] [byte=N]
π¦ DESCRIPTION π¦
so nbdkit-ones-plugin is a plugin for nbdkit(1). Any read you throw at it returns a repeating pattern of 0xff (all ones) bytes, or another repeating byte if you use the byte parameter instead. and literally everything you write to that virtual device? discarded. gone. not stored. it just falls into the void bestie π
most NBD consumers are gonna be very confused by this device. like, deeply confused. it is mainly useful for testing. and if you want a modifiable RAM disk that's initialized with fixed data, that's a different vibe entirely β go use nbdkit-data-plugin(1) for that. π
π PARAMETERS π
byte=Nβ sets the repeating byte toN. the default is0xff(all ones, the moment).
ngl, instead of byte=0 it's more efficient to use nbdkit-null-plugin(1). just saying. efficiency queen behavior.
[size=]SIZEβ specify the virtual size of the disk image.
this parameter is optional. if you omit it, a zero-sized device is created. (yes, zero. a little nothing device. adorable.) π
the size= prefix may be omitted in most cases. see "Magic parameters" in nbdkit(1) for the whole tea. β¨
π§ FILES π§
$plugindir/nbdkit-ones-plugin.soβ the plugin itself, the star of the show β
use nbdkit --dump-config to find the location of $plugindir. iykyk.
π VERSION π
nbdkit-ones-plugin first appeared in nbdkit 1.36. a legend was born. periodt. π
π SEE ALSO π
nbdkit(1), nbdkit-plugin(3), nbdkit-data-plugin(1), nbdkit-full-plugin(1), nbdkit-null-plugin(1), nbdkit-pattern-plugin(1), nbdkit-random-plugin(1). nbdkit-sparse-random-plugin(1), nbdkit-zero-plugin(1).
(the whole plugin friend group honestly. they all ate. π₯)
π AUTHORS π
Richard W.M. Jones
β COPYRIGHT β
Copyright Red Hat
π LICENSE π
redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Red Hat nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
and that's the whole page bestie!! π₯³ this version of the manual is from nbdkit-1.48.1, dated 2026-08-29. go forth and be ones. 0xff 0xff 0xff forever. mwah π β¨π¦
π¦ where this page comes from
- fedora 44: nbdkit-basic-plugins 1.48.1-1.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms