summaryrefslogtreecommitdiffstats
path: root/etc/mtree/BSD.root.dist
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2001-01-11 13:01:20 +0000
committerdougb <dougb@FreeBSD.org>2001-01-11 13:01:20 +0000
commited0bc299d087ff5da618344681310644e7401700 (patch)
tree6fc043516c0aa470d83378f1879f9a7cb9eee8cc /etc/mtree/BSD.root.dist
parent9213771385c22cde6b3f126a561bc3a8fe2de7b6 (diff)
downloadFreeBSD-src-ed0bc299d087ff5da618344681310644e7401700.zip
FreeBSD-src-ed0bc299d087ff5da618344681310644e7401700.tar.gz
Add a system to save entropy from /dev/random periodically so that
it can be used to reseed at boot time. This will greatly increase the chances that there will be sufficient entropy available at boot time to prevent long delays. For /etc/rc, remove the vmstat and iostat runs from the attempt to provide some cheesy randomness if the files fail, since those programs are dynamically linked, and ldd seems to want some randomness to do its magic. Guidance and parameters for this project were provided by Mark Murray, based on the requirements of the Yarrow algorithm. Some helpful suggestions for implementation (including the tip about iostat and vmstat) were provided by Sheldon Hearn. All blame for problems or mistakes is mine of course.
Diffstat (limited to 'etc/mtree/BSD.root.dist')
-rw-r--r--etc/mtree/BSD.root.dist4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/mtree/BSD.root.dist b/etc/mtree/BSD.root.dist
index e6e9a4d..0fc9833 100644
--- a/etc/mtree/BSD.root.dist
+++ b/etc/mtree/BSD.root.dist
@@ -5,6 +5,10 @@
/set type=dir uname=root gname=wheel mode=0755
.
+/set type=dir uname=operator gname=operator mode=0700
+ .entropy
+ ..
+/set type=dir uname=root gname=wheel mode=0755
bin
..
boot
OpenPOWER on IntegriCloud