1nbdkit-random-plugin(1) NBDKIT nbdkit-random-plugin(1)
2
3
4
6 nbdkit-random-plugin - plugin to serve random data
7
9 nbdkit random size=SIZE [seed=SEED]
10
12 "nbdkit-random-plugin" is a plugin for nbdkit(1) which serves random
13 data, read only.
14
15 The size of the virtual disk must be specified using the "size"
16 parameter. If you specify the "seed" parameter then you will get the
17 same random data over multiple runs with the same seed.
18
19 The random data is generated using an insecure method. This plugin is
20 mainly good for testing NBD clients.
21
23 size=SIZE
24 Specify the virtual size of the disk image.
25
26 This parameter is required.
27
28 seed=SEED
29 Specify the random seed to get repeatable data over multiple runs.
30
31 If not specified then a random seed is chosen.
32
34 nbdkit(1), nbdkit-plugin(3), nbdkit-data-plugin(1),
35 nbdkit-full-plugin(1), nbdkit-null-plugin(1), nbdkit-pattern-plugin(1),
36 nbdkit-zero-plugin(1).
37
39 Richard W.M. Jones
40
42 Copyright (C) 2018 Red Hat Inc.
43
45 Redistribution and use in source and binary forms, with or without
46 modification, are permitted provided that the following conditions are
47 met:
48
49 · Redistributions of source code must retain the above copyright
50 notice, this list of conditions and the following disclaimer.
51
52 · Redistributions in binary form must reproduce the above copyright
53 notice, this list of conditions and the following disclaimer in the
54 documentation and/or other materials provided with the
55 distribution.
56
57 · Neither the name of Red Hat nor the names of its contributors may
58 be used to endorse or promote products derived from this software
59 without specific prior written permission.
60
61 THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY
62 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
63 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
64 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE
65 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
66 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
67 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
68 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
69 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
70 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
71 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
72
73
74
75nbdkit-1.12.3 2019-05-22 nbdkit-random-plugin(1)