From b082b24f9817d0693e61ac6d1446627f1c7e0651 Mon Sep 17 00:00:00 2001 From: "John W. De Boskey" Date: Wed, 18 Oct 2000 05:29:26 +0000 Subject: [PATCH] Use dd to better block the data being sent to /dev/random. Note: I am not redirecting stdout so that the amount of data being transferred can be seen (22k and 576k currently). --- etc/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc b/etc/rc index d73a8e87e905..ca91c420a138 100644 --- a/etc/rc +++ b/etc/rc @@ -203,10 +203,10 @@ yes) # Entropy below is not great, # but better than nothing. (ps -gauxwww; iostat; vmstat; sysctl -a; - dmesg) > /dev/random 2> /dev/random + dmesg) | /bin/dd of=/dev/random bs=8k ( for i in /etc /var/run ; do cd $i ; ls -al ; cat * - done ) > /dev/random 2> /dev/random + done ) | /bin/dd of=/dev/random bs=8k fi fi ;;