docs: Add VERSION section giving first version a plugin/filter appeared.
[nbdkit/ericb.git] / plugins / gzip / nbdkit-gzip-plugin.pod
blob3f2cfdb49d742b31192d50dfc268c1576dd5322e
1 =head1 NAME
3 nbdkit-gzip-plugin - nbdkit gzip plugin
5 =head1 SYNOPSIS
7  nbdkit gzip [file=]FILENAME.gz
9 =head1 DESCRIPTION
11 C<nbdkit-gzip-plugin> is a file serving plugin for L<nbdkit(1)>.
13 It serves the named C<FILENAME.gz> over NBD, uncompressing it on the
14 fly.  The plugin only supports read-only connections.
16 B<Note> that gzip files are not very good for random access in large
17 files because seeking to a position in the gzip file involves
18 uncompressing lots of data.  A more practical method to compress large
19 disk images is to use the L<xz(1)> format and L<nbdkit-xz-plugin(1)>.
21 =head1 PARAMETERS
23 =over 4
25 =item [B<file=>]FILENAME.gz
27 Serve the compressed file named C<FILENAME.gz>.
29 This parameter is required.
31 C<file=> is a magic config key and may be omitted in most cases.
32 See L<nbdkit(1)/Magic parameters>.
34 =back
36 =head1 FILES
38 =over 4
40 =item F<$plugindir/nbdkit-gzip-plugin.so>
42 The plugin.
44 Use C<nbdkit --dump-config> to find the location of C<$plugindir>.
46 =back
48 =head1 VERSION
50 C<nbdkit-gzip-plugin> first appeared in nbdkit 1.2.
52 =head1 SEE ALSO
54 L<nbdkit-xz-plugin(1)>,
55 L<nbdkit(1)>,
56 L<nbdkit-plugin(3)>.
58 =head1 AUTHORS
60 Richard W.M. Jones
62 =head1 COPYRIGHT
64 Copyright (C) 2013 Red Hat Inc.