genrandom.docbook revision f81e8340fc807b15828332c0dc18dd3132bd7cd1
1017N/A<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
1017N/A "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
1017N/A [<!ENTITY mdash "&#8212;">]>
1017N/A<!--
1017N/A - Copyright (C) 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
1017N/A -
1017N/A - Permission to use, copy, modify, and/or distribute this software for any
1017N/A - purpose with or without fee is hereby granted, provided that the above
1017N/A - copyright notice and this permission notice appear in all copies.
1017N/A -
1017N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1017N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1017N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1017N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1017N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1017N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1017N/A - PERFORMANCE OF THIS SOFTWARE.
1017N/A-->
1017N/A
1017N/A<!-- $Id: genrandom.docbook,v 1.7 2011/08/08 03:28:15 marka Exp $ -->
1017N/A<refentry id="man.genrandom">
1017N/A <refentryinfo>
1017N/A <date>Feb 19, 2009</date>
1017N/A </refentryinfo>
1017N/A
1017N/A <refmeta>
1017N/A <refentrytitle><application>genrandom</application></refentrytitle>
1017N/A <manvolnum>8</manvolnum>
1017N/A <refmiscinfo>BIND9</refmiscinfo>
1017N/A </refmeta>
1017N/A
1017N/A <refnamediv>
1017N/A <refname><application>genrandom</application></refname>
1017N/A <refpurpose>generate a file containing random data</refpurpose>
1017N/A </refnamediv>
1017N/A
1017N/A <docinfo>
1017N/A <copyright>
1017N/A <year>2009</year>
1017N/A <year>2010</year>
1017N/A <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
1017N/A </copyright>
1017N/A </docinfo>
1017N/A
1017N/A <refsynopsisdiv>
1017N/A <cmdsynopsis>
1017N/A <command>genrandom</command>
1017N/A <arg><option>-n <replaceable class="parameter">number</replaceable></option></arg>
1017N/A <arg choice="req"><replaceable class="parameter">size</replaceable></arg>
1017N/A <arg choice="req"><replaceable class="parameter">filename</replaceable></arg>
1017N/A </cmdsynopsis>
1017N/A </refsynopsisdiv>
1017N/A
1017N/A <refsect1>
1017N/A <title>DESCRIPTION</title>
1017N/A <para>
1017N/A <command>genrandom</command>
1017N/A generates a file or a set of files containing a specified quantity
1017N/A of pseudo-random data, which can be used as a source of entropy for
1017N/A other commands on systems with no random device.
1017N/A </para>
1017N/A </refsect1>
1017N/A
1017N/A <refsect1>
1017N/A <title>ARGUMENTS</title>
1017N/A <variablelist>
1017N/A <varlistentry>
1017N/A <term>-n <replaceable class="parameter">number</replaceable></term>
1017N/A <listitem>
1017N/A <para>
1017N/A In place of generating one file, generates <option>number</option>
1017N/A (from 2 to 9) files, appending <option>number</option> to the name.
1017N/A </para>
1017N/A </listitem>
1017N/A </varlistentry>
1017N/A
1017N/A <varlistentry>
1017N/A <term>size</term>
1017N/A <listitem>
1017N/A <para>
1017N/A The size of the file, in kilobytes, to generate.
1017N/A </para>
1017N/A </listitem>
1017N/A </varlistentry>
1017N/A
1017N/A <varlistentry>
1017N/A <term>filename</term>
1017N/A <listitem>
1017N/A <para>
1017N/A The file name into which random data should be written.
1017N/A </para>
1017N/A </listitem>
1017N/A </varlistentry>
1017N/A </variablelist>
1017N/A </refsect1>
1017N/A
1017N/A <refsect1>
1017N/A <title>SEE ALSO</title>
1017N/A <para>
1017N/A <citerefentry>
1017N/A <refentrytitle>rand</refentrytitle><manvolnum>3</manvolnum>
1017N/A </citerefentry>,
1017N/A <citerefentry>
1017N/A <refentrytitle>arc4random</refentrytitle><manvolnum>3</manvolnum>
1017N/A </citerefentry>
1017N/A </para>
1017N/A </refsect1>
1017N/A
1017N/A <refsect1>
1017N/A <title>AUTHOR</title>
1017N/A <para><corpauthor>Internet Systems Consortium</corpauthor>
1017N/A </para>
1017N/A </refsect1>
1017N/A
1017N/A</refentry><!--
1017N/A - Local variables:
1017N/A - mode: sgml
1017N/A - End:
1017N/A-->
1017N/A