nbdkit-rotational-filter(1)

πŸ’« nbdkit-rotational-filter πŸ’«

okay bestie, gather round, because we're talking about the rotational filter from nbdkit β€” yes that's the manual page name, no I will not be normal about it πŸ’…


✨ NAME ✨

nbdkit-rotational-filter β€” set if a plugin is rotational or not πŸŒ€


🌸 SYNOPSIS 🌸

nbdkit --filter=rotational PLUGIN [rotational=true|false]

πŸ¦‹ DESCRIPTION πŸ¦‹

so nbdkit-rotational-filter is a filter for nbdkit(1) and its whole job β€” its entire main character arc β€” is letting you change the rotational property of a plugin. that's it. that's the gig. πŸŽ€

the rotational property is a boolean flag, right, and it's basically a little hint you're passing to the client saying "hey, does this thing behave like a spinning disk (rotational is true) or like a solid state disk or RAM (rotational is false)?" πŸ’Ύ

and why does the client care?? because if a disk is rotational, the client may attempt to schedule disk accesses to reduce seek times using the elevator algorithm πŸ”₯ like literally, that's the whole vibe:

https://en.wikipedia.org/wiki/Elevator_algorithm

okay so here's the tea β˜• β€” if you add this filter without using the rotational parameter, it forces the plugin to advertise that it is rotational. like, it just does that. no asking. and if you wanna be explicit about it (which, slay, honestly) you can set the rotational property yourself with rotational=true or rotational=false ✨


πŸŽ€ PARAMETERS πŸŽ€

  • rotational=true β€” set the rotational property, which means you're saying the plugin behaves like a spinning disk πŸŒ€ and btw this is the default when you enable this filter, so if you don't say anything, this is what you get, no cap.
  • rotational=false β€” clear the rotational property, meaning the plugin behaves like a solid state disk or RAM ⚑ fast girlie energy, no moving parts.

πŸ’œ FILES πŸ’œ

  • $filterdir/nbdkit-rotational-filter.so β€” the filter itself, the whole file, the moment 🫢

and to find out where $filterdir is, just run nbdkit --dump-config and it'll tell you, easy peasy πŸ“


🌈 VERSION 🌈

nbdkit-rotational-filter first appeared in nbdkit 1.40 πŸŽ‚ so it's a lil baby in the grand scheme but it's thriving.


⭐ SEE ALSO ⭐

go read these next, i'm obsessed:


πŸ‘‘ AUTHORS πŸ‘‘

Richard W.M. Jones β€” thank you king πŸ™‡β€β™€οΈ


Copyright Red Hat


πŸ“œ LICENSE πŸ“œ

okay so legally speaking, redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met β€” and bestie these are not optional, they're giving very much required:

  • 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.
⚠️ no fr, that all-caps part is not me being dramatic for the bit β€” that's the actual warranty disclaimer and it means what it says. πŸ’€

and that's the whole page bestie!! 🌸 this is nbdkit-1.48.1, dated 2026-08-29, and yes i read the entire footer just for you. mwah πŸ’‹ go forth and be rotational (or not) 🫢✨

πŸ“¦ where this page comes from