Module Name: src
Committed By: apb
Date: Wed Jan 15 11:42:43 UTC 2014
Modified Files:
src/share/man/man5: rc.conf.5
Log Message:
Document random_seed and random_file.
To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/share/man/man5/rc.conf.5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man5/rc.conf.5
diff -u src/share/man/man5/rc.conf.5:1.156 src/share/man/man5/rc.conf.5:1.157
--- src/share/man/man5/rc.conf.5:1.156 Sun Jan 13 19:56:13 2013
+++ src/share/man/man5/rc.conf.5 Wed Jan 15 11:42:43 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: rc.conf.5,v 1.156 2013/01/13 19:56:13 wiz Exp $
+.\" $NetBSD: rc.conf.5,v 1.157 2014/01/15 11:42:43 apb Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" All rights reserved.
@@ -55,7 +55,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd October 2, 2012
+.Dd January 15, 2014
.Dt RC.CONF 5
.Os
.Sh NAME
@@ -432,6 +432,26 @@ Checks and enables quotas by running
.Xr quotacheck 8
and
.Xr quotaon 8 .
+.It Sy random_seed
+Boolean value.
+During boot-up, runs the
+.Xr rndctl 8
+utility with the
+.Fl L
+flag to seed the random number subsystem from an entropy file.
+During shutdown, runs the
+.Xr rndctl 8
+utility with the
+.Fl S
+flag to save some random information to the entropy file.
+The entropy file name is specified by the
+.Sy random_file
+variable, and defaults to
+.Pa /var/db/entropy-file .
+The entropy file must be on a local file system that is writable early during
+boot-up (just after the file systems specified in
+.Sy critical_filesystems_local
+have been mounted), and correspondingly late during shutdown.
.It Sy rndctl
Boolean value.
Runs the