nbdkit-gzip-filter(1)
β¨ nbdkit-gzip-filter π
okay so bestie, we're in the nbdkit manual section, and this little cutie is nbdkit-gzip-filter π
πΈ NAME πΈ
nbdkit-gzip-filter β decompress a .gz file π¦
β¨ SYNOPSIS β¨
nbdkit file --filter=gzip FILENAME.gz
π DESCRIPTION π
nbdkit-gzip-filter is a filter for nbdkit(1) and the way it works is iconic β it transparently decompresses a gzip-compressed file. no cap. π«Ά
You can stack it on top of nbdkit-file-plugin(1) to decompress a local .gz file, or honestly put it on top of other plugins too, like nbdkit-curl-plugin(1):
nbdkit curl --filter=gzip https://example.com/disk.gz
And with nbdkit-tar-filter(1) it can extract files from a compressed tar file, which is such a serve:
nbdkit curl --filter=tar --filter=gzip \
https://example.com/file.tar.gz tar-entry=disk.img
This filter only allows read-only connections. it said no to writing, periodt. π
ngl bestie, gzip files are not very good for random access in large files, because seeking to a position in the gzip file means decompressing all the data before that point in the file. like, every single byte. π
nbdkit-indexed-gzip-filter(1) is an alternate filter to this one which builds an index file, which can mitigate this problem. another method to compress large disk images is to use xz(1) or plzip(1). both nbdkit-xz-filter(1) and nbdkit-lzip-filter(1) support block-level decompression if the file was compressed using the right options. π
To allow seeking, this filter has to keep the contents of the complete uncompressed file, which it does in a hidden temporary file under $TMPDIR. it's giving main character energy in a secret temp file. π§
π PARAMETERS π
There are no parameters specific to this plugin. literally none. she's low maintenance. π
π ENVIRONMENT VARIABLES π
TMPDIRβ Because the gzip format is not seekable, this filter has to store the complete contents of the compressed file in a temporary file located in/var/tmpby default. You can override this location by setting theTMPDIRenvironment variable before starting nbdkit. π
β FILES β
$filterdir/nbdkit-gzip-filter.soβ The plugin. β¨- Use
nbdkit --dump-configto find the location of$filterdir. π
- Use
π VERSION π
nbdkit-gzip-filter first appeared in nbdkit 1.22. It is derived from nbdkit-gzip-plugin which first appeared in nbdkit 1.0. glow-up fr fr. π
π¦ SEE ALSO π¦
nbdkit-bzip2-filter(1), nbdkit-curl-plugin(1), nbdkit-file-plugin(1), nbdkit-indexed-gzip-filter(1), nbdkit-lzip-filter(1), nbdkit-tar-filter(1), nbdkit-xz-filter(1), nbdkit(1), nbdkit-plugin(3).
π 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 was nbdkit-1.48.1, dated 2026-08-29, from the nbdkit-gzip-filter(1) page. mwah, go decompress something gorgeous π«Άππ
π¦ where this page comes from
- fedora 44: nbdkit-basic-filters 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