From owner-cvs-sys Sun Mar 23 13:48:58 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA01443 for cvs-sys-outgoing; Sun, 23 Mar 1997 13:48:58 -0800 (PST) Received: from sequent.kiae.su (sequent.kiae.su [193.125.152.6]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id NAA01424; Sun, 23 Mar 1997 13:48:39 -0800 (PST) Received: by sequent.kiae.su id AA15643 (5.65.kiae-2 ); Mon, 24 Mar 1997 00:35:07 +0300 Received: by sequent.KIAE.su (UUMAIL/2.0); Mon, 24 Mar 97 00:35:06 +0300 Received: (from ache@localhost) by nagual.ru (8.8.5/8.8.5) id AAA00937; Mon, 24 Mar 1997 00:30:34 +0300 (MSK) Date: Mon, 24 Mar 1997 00:30:29 +0300 (MSK) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: Guido van Rooij Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org, Garrett Wollman Subject: Re: cvs commit: src/sbin/fsirand Makefile fsirand.8 fsirand.c src/sys/kern vfs_syscalls.c src/sys/ufs/ffs ffs_alloc.c ffs_vfsops.c fs.h src/sbin Makefile src/sbin/newfs Makefile mkfs.c In-Reply-To: <199703232008.MAA25285@freefall.freebsd.org> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 23 Mar 1997, Guido van Rooij wrote: > filesystems. the code is mostly copied from OpenBSD, with the randomization > chanegd to use /dev/urandom We need one /dev/random function in libc instead of all attempts to use /dev/urandom in various ways. Moreover, /dev/random can be used only for initial state table computing, not as random() call replacement due to 1) slowness of /dev/random device access 2) eating all true random bits which may be needed for other applications too. I probably will try to modify devsrandom() posted by Garrett to work with /dev/random, not with /dev/urandom... -- Andrey A. Chernov http://www.nagual.ru/~ache/