Date: Tue, 16 Dec 2008 21:39:56 +0100 From: Bernard Dugas <bernard@dugas-family.org> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> Cc: freebsd-questions@freebsd.org Subject: Re: Any doc reference on /entropy file ? Message-ID: <4948121C.7070700@dugas-family.org> In-Reply-To: <20081216163146.E61714@wojtek.tensor.gdynia.pl> References: <20081216094719.EDCEE1065675@hub.freebsd.org> <4947A83A.6050101@dugas-family.org> <20081216160701.L61449@wojtek.tensor.gdynia.pl> <4947C7D9.6090909@dugas-family.org> <20081216163146.E61714@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Wojciech Puchar wrote:
>> 2- As / will be mounted read-only, how can i tell the ramdom generator 
>> to put this /entropy file somewhere in /var, where i think it should 
>> be ? Or is there any tricky hidden problem ?
> 
> man rc.conf  seek entropy_file and entropy_dir
Thanks, detail is available in /etc/default/rc.conf :
"entropy_file="/entropy" # Set to NO to disable caching entropy through 
reboots.
                         # /var/db/entropy-file is preferred if / is not 
avail."
It means that i can put it in /var when L is read-only. There should be 
no problem as the file is choosen in rc.conf, so after /var is mounted.
As this is for diskless station, it would be fun to change the entropy 
file through the nfs server RANDOM, even better thant at each boot :-)
Best regards,
-- 
Bernard DUGAS Mobile +33 615 333 770
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4948121C.7070700>
