GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SAVE-ENTROPY(8) FreeBSD System Manager's Manual SAVE-ENTROPY(8)

save-entropySave bits of entropy to feed /dev/random at startup

save-entropy

The save-entropy command is used to save entropy data from /dev/random to files in a specified output location. The files saved are used at startup to provide additional entropy for /dev/random. The output file will be different in every invocation until the maximum number of different files is reached. (See entropy_save_num for details). By default this script is invoked via cron(8) every eleven minutes approximately.

This command does nothing if executed inside a jail(8).

Three variables in /etc/rc.conf regulate the behavior of the script:

entropy_dir
Specify the directory for saved entropy files. Defaults to /var/db/entropy. If set to "NO" it disables caching entropy via cron(8). This setting is shared with /etc/rc.d/random.
entropy_save_sz
Size of the entropy cache files. Defaults to 4096.
entropy_save_num
Number of entropy cache files to save. Defaults to 8.

/etc/rc.conf
 

The save-entropy utility exits 0 on success, and >0 if an error occurs. Errors will be recorded in the system log.

syslog(3), random(4), rc.conf(5), cron(8)

The save-entropy command first appeared in FreeBSD 5.0.

The save-entropy command was originally written by Doug Barton <dougb@FreeBSD.org>. This manual page was written by
Fernando Apesteguia <fernape@FreeBSD.org>.

September 18, 2023 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.