1nbdkit-example1-plugin(1) NBDKIT nbdkit-example1-plugin(1)
2
3
4
6 nbdkit-example1-plugin - minimal nbdkit plugin
7
9 nbdkit example1
10
12 "nbdkit-example1-plugin" is a minimal nbdkit(1) plugin.
13
14 It serves, readonly, from memory, a static blob of data which looks a
15 little bit like a 100 MB disk image that contains a single empty
16 partition.
17
18 Mainly this is useful for testing nbdkit and as an example for writing
19 nbdkit plugins (nbdkit-plugin(3)).
20
22 https://github.com/libguestfs/nbdkit/blob/master/plugins/example1/example1.c,
23 nbdkit(1), nbdkit-plugin(3)
24
26 Richard W.M. Jones
27
29 Copyright (C) 2013 Red Hat Inc.
30
32 Redistribution and use in source and binary forms, with or without
33 modification, are permitted provided that the following conditions are
34 met:
35
36 · Redistributions of source code must retain the above copyright
37 notice, this list of conditions and the following disclaimer.
38
39 · Redistributions in binary form must reproduce the above copyright
40 notice, this list of conditions and the following disclaimer in the
41 documentation and/or other materials provided with the
42 distribution.
43
44 · Neither the name of Red Hat nor the names of its contributors may
45 be used to endorse or promote products derived from this software
46 without specific prior written permission.
47
48 THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY
49 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
50 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
51 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE
52 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
53 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
54 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
55 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
56 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
57 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
58 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
59
60
61
62nbdkit-1.12.3 2019-05-21 nbdkit-example1-plugin(1)