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

NAME

6       nbdkit-memory-plugin - nbdkit virtual memory plugin
7

SYNOPSIS

9        nbdkit memory size=SIZE
10

DESCRIPTION

12       "nbdkit-memory-plugin" is a plugin for nbdkit(1) which stores a single
13       disk image in virtual memory, and discards it when nbdkit exits.
14
15       All nbdkit clients will see the same disk content, initially all
16       zeroes.
17
18       The disk image is stored in memory so it cannot be larger than physical
19       RAM plus swap, less whatever is being used by the rest of the system.
20       Very large disk image sizes will usually not work with this plugin (use
21       nbdkit-file-plugin(1) backed by a temporary file for that).
22
23       This can be used for testing where you don't care about the final
24       content of the disk image.
25

PARAMETERS

27       size=SIZE
28           Specify the virtual size of the disk image.
29
30           This parameter is required.
31

SEE ALSO

33       nbdkit(1), nbdkit-plugin(3).
34

AUTHORS

36       Richard W.M. Jones
37
39       Copyright (C) 2017 Red Hat Inc.
40

LICENSE

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