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
44 L<nbdkit-file-plugin(1)>,
46 L<nbdkit-offset-filter(1)>,
47 L<nbdkit-partitioning-plugin(1)>,
48 L<nbdkit-truncate-filter(1)>,
59 Copyright (C) 2018 Red Hat Inc.