2
- Copyright (C) 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
2
- Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
3
- Copyright (C) 2000-2003 Internet Software Consortium.
4
5
- Permission to use, copy, modify, and/or distribute this software for any
5
6
- purpose with or without fee is hereby granted, provided that the above
6
7
- copyright notice and this permission notice appear in all copies.
8
9
- THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9
10
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11
12
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
13
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13
14
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
15
- PERFORMANCE OF THIS SOFTWARE.
17
<!-- $Id: man.genrandom.html,v 1.2.4.7.2.2 2010/02/27 02:44:07 tbox Exp $ -->
17
<!-- $Id: man.genrandom.html,v 1.2.4.12 2010/05/18 04:04:36 tbox Exp $ -->
20
20
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
48
48
<div class="refsynopsisdiv">
50
<div class="cmdsynopsis"><p><code class="command">genrandom</code> {<em class="replaceable"><code>size</code></em>} {<em class="replaceable"><code>filename</code></em>}</p></div>
50
<div class="cmdsynopsis"><p><code class="command">genrandom</code> [<code class="option">-n <em class="replaceable"><code>number</code></em></code>] {<em class="replaceable"><code>size</code></em>} {<em class="replaceable"><code>filename</code></em>}</p></div>
52
52
<div class="refsect1" lang="en">
53
<a name="id2644106"></a><h2>DESCRIPTION</h2>
53
<a name="id2650677"></a><h2>DESCRIPTION</h2>
55
55
<span><strong class="command">genrandom</strong></span>
56
generates a file containing a specified quantity of pseudo-random
57
data, which can be used as a source of entropy for other commands
58
on systems with no random device.
56
generates a file or a set of files containing a specified quantity
57
of pseudo-random data, which can be used as a source of entropy for
58
other commands on systems with no random device.
61
61
<div class="refsect1" lang="en">
62
<a name="id2644121"></a><h2>ARGUMENTS</h2>
62
<a name="id2650692"></a><h2>ARGUMENTS</h2>
63
63
<div class="variablelist"><dl>
64
<dt><span class="term">-n <em class="replaceable"><code>number</code></em></span></dt>
66
In place of generating one file, generates <code class="option">number</code>
67
(from 2 to 9) files, appending <code class="option">number</code> to the name.
64
69
<dt><span class="term">size</span></dt>
66
71
The size of the file, in kilobytes, to generate.
74
79
<div class="refsect1" lang="en">
75
<a name="id2644156"></a><h2>SEE ALSO</h2>
80
<a name="id2650753"></a><h2>SEE ALSO</h2>
77
82
<span class="citerefentry"><span class="refentrytitle">rand</span>(3)</span>,
78
83
<span class="citerefentry"><span class="refentrytitle">arc4random</span>(3)</span>
81
86
<div class="refsect1" lang="en">
82
<a name="id2644183"></a><h2>AUTHOR</h2>
87
<a name="id2650779"></a><h2>AUTHOR</h2>
83
88
<p><span class="corpauthor">Internet Systems Consortium</span>