1nbdkit-random-plugin(1)             NBDKIT             nbdkit-random-plugin(1)
2
3
4

NAME

6       nbdkit-random-plugin - plugin to serve random data
7

SYNOPSIS

9        nbdkit random [size=]SIZE [seed=SEED]
10

DESCRIPTION

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

PARAMETERS

23       [size=]SIZE
24           Specify the virtual size of the disk image.
25
26           This parameter is required.
27
28           "size=" is a magic config key and may be omitted in most cases.
29           See "Magic parameters" in nbdkit(1).
30
31       seed=SEED
32           Specify the random seed to get repeatable data over multiple runs.
33
34           If not specified then a random seed is chosen.
35

FILES

37       $plugindir/nbdkit-random-plugin.so
38           The plugin.
39
40           Use "nbdkit --dump-config" to find the location of $plugindir.
41

VERSION

43       "nbdkit-random-plugin" first appeared in nbdkit 1.4.
44

SEE ALSO

46       nbdkit(1), nbdkit-plugin(3), nbdkit-data-plugin(1),
47       nbdkit-full-plugin(1), nbdkit-null-plugin(1), nbdkit-pattern-plugin(1),
48       nbdkit-zero-plugin(1).
49

AUTHORS

51       Richard W.M. Jones
52
54       Copyright (C) 2018 Red Hat Inc.
55

LICENSE

57       Redistribution and use in source and binary forms, with or without
58       modification, are permitted provided that the following conditions are
59       met:
60
61       ·   Redistributions of source code must retain the above copyright
62           notice, this list of conditions and the following disclaimer.
63
64       ·   Redistributions in binary form must reproduce the above copyright
65           notice, this list of conditions and the following disclaimer in the
66           documentation and/or other materials provided with the
67           distribution.
68
69       ·   Neither the name of Red Hat nor the names of its contributors may
70           be used to endorse or promote products derived from this software
71           without specific prior written permission.
72
73       THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY
74       EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
75       IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
76       PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE
77       LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
78       CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
79       SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
80       BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
81       WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
82       OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
83       ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
84
85
86
87nbdkit-1.16.1                     2019-12-03           nbdkit-random-plugin(1)
Impressum