3 nbdkit-partition-filter - nbdkit partition filter
7 nbdkit --filter=partition plugin partition=PART [plugin-args...]
11 C<nbdkit-partition-filter> is a filter that limits requests to a
12 single partition within a disk image that is served by another plugin.
14 Partition numbers are specified by the required C<partition>
15 parameter, and count from 1.
17 This works like the C<qemu-nbd -P> option.
19 The opposite of this filter is L<nbdkit-partitioning-plugin(1)> which
20 adds a virtual partition table to a file or files.
26 =item B<partition=>PART
28 The partition number to serve, counting from 1.
30 This parameter is required.
36 F<disk.img> is a partitioned disk image (eg. a virtual machine disk
37 image). To serve the first partition only use:
39 nbdkit --filter=partition file disk.img partition=1
45 =item F<$filterdir/nbdkit-partition-filter.so>
49 Use C<nbdkit --dump-config> to find the location of C<$filterdir>.
55 C<nbdkit-partition-filter> first appeared in nbdkit 1.2.
60 L<nbdkit-file-plugin(1)>,
62 L<nbdkit-offset-filter(1)>,
63 L<nbdkit-partitioning-plugin(1)>,
64 L<nbdkit-protect-filter(1)>,
65 L<nbdkit-truncate-filter(1)>,