Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2008 14:14:20 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Any doc reference on /entropy file ?
Message-ID:  <20081216141420.343a54c5@gumby.homeunix.com>
In-Reply-To: <4947A83A.6050101@dugas-family.org>
References:  <20081216094719.EDCEE1065675@hub.freebsd.org> <4947A83A.6050101@dugas-family.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Dec 2008 14:08:10 +0100
Bernard Dugas <bernard@dugas-family.org> wrote:

> Hi,
> 
> When i look at / in a standard installation like :
> FreeBSD XXX 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52
> UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
> i386
> 
> There is only 1 file, named entropy :
> 
> -rw-------   1 root  wheel  4096 Dec 11 17:36 entropy
> 
> I can't find any reference to that file in FreeBSD doc.
> 

It contains random numbers that are written-out at shutdown and used to
seed /dev/random on the next boot.

> 
> Do i have to keep it read/write ? Can i put it in /var instead of /
> to be able to keep / read-only ?

It has to be on the root-partition, if it's going to be used. 

You can set entropy_file=NO if you don't want it. There are additional
entropy files under /var, and the system generates it's own entropy
during the boot stage, which is good enough for normal cases.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081216141420.343a54c5>