1nbdkit-null-plugin(1) NBDKIT nbdkit-null-plugin(1)
2
3
4
6 nbdkit-null-plugin - nbdkit bitbucket plugin
7
9 nbdkit null [size=SIZE]
10
12 "nbdkit-null-plugin" is a null plugin for nbdkit(1). Everything
13 written to the virtual device is discarded, and reads back as zeroes.
14
15 Most NBD consumers will be very confused by this device. Trying to
16 create filesystems etc on it will likely fail badly. If the client is
17 caching writes locally then you will get inconsistent read behaviour.
18
20 size=SIZE
21 Specify the virtual size of the disk image.
22
23 This parameter is optional. If omitted then a zero-sized device is
24 created.
25
27 nbdkit(1), nbdkit-plugin(3), nbdkit-full-plugin(1),
28 nbdkit-pattern-plugin(1), nbdkit-random-plugin(1).
29 nbdkit-zero-plugin(1).
30
32 Richard W.M. Jones
33
35 Copyright (C) 2017 Red Hat Inc.
36
38 Redistribution and use in source and binary forms, with or without
39 modification, are permitted provided that the following conditions are
40 met:
41
42 · Redistributions of source code must retain the above copyright
43 notice, this list of conditions and the following disclaimer.
44
45 · Redistributions in binary form must reproduce the above copyright
46 notice, this list of conditions and the following disclaimer in the
47 documentation and/or other materials provided with the
48 distribution.
49
50 · Neither the name of Red Hat nor the names of its contributors may
51 be used to endorse or promote products derived from this software
52 without specific prior written permission.
53
54 THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY
55 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
56 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
57 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE
58 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
59 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
60 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
61 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
62 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
63 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
64 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
65
66
67
68nbdkit-1.12.3 2019-05-21 nbdkit-null-plugin(1)