Update Red Hat Copyright Notices
[nbdkit.git] / plugins / split / nbdkit-split-plugin.pod
blob275bdba3716cc0098b38fa9beba010f9e4fd2cc8
1 =head1 NAME
3 nbdkit-split-plugin - nbdkit plugin to concatenate split files into one disk
5 =head1 SYNOPSIS
7  nbdkit split [file=]file1 [[file=]file2 [file=]file3 ...]
9 =head1 DESCRIPTION
11 C<nbdkit-split-plugin> is a file plugin for L<nbdkit(1)>.  One or more
12 filenames may be given using the C<FILENAME> parameter.  These
13 files are logically concatenated into a single disk image.
15 If you want to add a virtual partition table, see
16 L<nbdkit-partitioning-plugin(1)>.
18 =head2 Differences from nbdkit-file-plugin
20 Normally to serve a single file you should use
21 L<nbdkit-file-plugin(1)>.  This plugin differs from nbdkit-file-plugin
22 as follows:
24 =over 4
26 =item *
28 nbdkit-file-plugin is faster and more efficient.  It has a fully
29 parallel implementation, and does not have to deal with the complexity
30 of locating the correct file to serve or splitting requests across
31 files.
33 =item *
35 nbdkit-file-plugin allows you to resize the underlying file
36 dynamically.  The underlying files must B<not> be resized when using
37 the split plugin.
39 =item *
41 nbdkit-file-plugin can handle block devices, but the split plugin can
42 only handle plain files.
44 =item *
46 nbdkit-file-plugin handles writes of blocks of zeroes efficiently, but
47 the split plugin cannot.
49 =item *
51 nbdkit-file-plugin can "punch holes" in the backing file in response
52 to a trim request from the client, but the split plugin does not
53 support this.
55 =back
57 =head1 PARAMETERS
59 =over 4
61 =item [B<file=>]FILENAME
63 One or more files to open.  They are logically concatenated in
64 the order they appear on the command line.
66 This parameter must appear at least once.
68 C<file=> is a magic config key and may be omitted in most cases.
69 See L<nbdkit(1)/Magic parameters>.
71 =back
73 =head1 FILES
75 =over 4
77 =item F<$plugindir/nbdkit-split-plugin.so>
79 The plugin.
81 Use C<nbdkit --dump-config> to find the location of C<$plugindir>.
83 =back
85 =head1 VERSION
87 C<nbdkit-split-plugin> first appeared in nbdkit 1.2.
89 =head1 SEE ALSO
91 L<nbdkit(1)>,
92 L<nbdkit-plugin(3)>,
93 L<nbdkit-file-plugin(1)>,
94 L<nbdkit-partitioning-plugin(1)>.
96 =head1 AUTHORS
98 Richard W.M. Jones
100 =head1 COPYRIGHT
102 Copyright Red Hat