1nbdkit-example2-plugin(1)           nbdkit           nbdkit-example2-plugin(1)
2
3
4

NAME

6       nbdkit-example2-plugin - An example nbdkit plugin
7

SYNOPSIS

9        nbdkit example2 file=FILENAME
10

DESCRIPTION

12       "nbdkit-example2-plugin" is an example nbdkit(1) plugin.
13
14       It serves the named "FILENAME" over NBD, readonly.
15
16       Mainly this is useful for testing nbdkit and as an example for writing
17       nbdkit plugins (nbdkit-plugin(3)).
18

SEE ALSO

20       <https://github.com/libguestfs/nbdkit/blob/master/plugins/example2/example2.c>,
21       nbdkit(1), nbdkit-plugin(3)
22

AUTHORS

24       Richard W.M. Jones
25
27       Copyright (C) 2013 Red Hat Inc.
28

LICENSE

30       Redistribution and use in source and binary forms, with or without
31       modification, are permitted provided that the following conditions are
32       met:
33
34       ·   Redistributions of source code must retain the above copyright
35           notice, this list of conditions and the following disclaimer.
36
37       ·   Redistributions in binary form must reproduce the above copyright
38           notice, this list of conditions and the following disclaimer in the
39           documentation and/or other materials provided with the
40           distribution.
41
42       ·   Neither the name of Red Hat nor the names of its contributors may
43           be used to endorse or promote products derived from this software
44           without specific prior written permission.
45
46       THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY
47       EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
48       IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
49       PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE
50       LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
51       CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
52       SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
53       BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
54       WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
55       OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
56       ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
57
58
59
60nbdkit                            2018-07-25         nbdkit-example2-plugin(1)
Impressum