Permalink
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (33 sloc) 1.06 KB

NAME

nbdkit-random-plugin - plugin to serve random data

SYNOPSIS

nbdkit random size=SIZE [seed=SEED]

DESCRIPTION

nbdkit-random-plugin is a plugin for nbdkit(1) which serves random data, read only.

The size of the virtual disk must be specified using the size parameter. If you specify the seed parameter then you will get the same random data over multiple runs with the same seed.

The random data is generated using an insecure method (a Linear Congruential Generator). This plugin is mainly good for testing NBD clients.

PARAMETERS

size=SIZE

Specify the virtual size of the disk image.

This parameter is required.

seed=SEED

Specify the random seed to get repeatable data over multiple runs.

If not specified then a random seed is chosen.

SEE ALSO

nbdkit(1), nbdkit-plugin(3), nbdkit-data-plugin(1), nbdkit-null-plugin(1), nbdkit-pattern-plugin(1), nbdkit-zero-plugin(1).

AUTHORS

Richard W.M. Jones

COPYRIGHT

Copyright (C) 2018 Red Hat Inc.