From owner-freebsd-questions@FreeBSD.ORG Tue Dec 16 20:38:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3B711065674 for ; Tue, 16 Dec 2008 20:38:02 +0000 (UTC) (envelope-from bernard@dugas-family.org) Received: from smtp11.ispronet.com (smtp11.ispronet.com [81.28.196.233]) by mx1.freebsd.org (Postfix) with ESMTP id B164F8FC24 for ; Tue, 16 Dec 2008 20:38:02 +0000 (UTC) (envelope-from bernard@dugas-family.org) Received: from localhost (unknown [127.0.0.1]) by smtp11.ispronet.com (Postfix) with ESMTP id 44FF8B84F; Tue, 16 Dec 2008 21:38:01 +0100 (CET) Received: from smtp11.ispronet.com ([127.0.0.1]) by localhost (smtp11.ispronet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 38349-10; Tue, 16 Dec 2008 21:37:52 +0100 (CET) Received: from [192.168.1.34] (unknown [212.109.69.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp11.ispronet.com (Postfix) with ESMTP; Tue, 16 Dec 2008 21:37:51 +0100 (CET) Message-ID: <4948121C.7070700@dugas-family.org> Date: Tue, 16 Dec 2008 21:39:56 +0100 From: Bernard Dugas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7) Gecko/20040616 X-Accept-Language: fr,en MIME-Version: 1.0 To: Wojciech Puchar 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> In-Reply-To: <20081216163146.E61714@wojtek.tensor.gdynia.pl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at ispronet.com Cc: freebsd-questions@freebsd.org Subject: Re: Any doc reference on /entropy file ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 20:38:03 -0000 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