From owner-cvs-all Thu Jan 11 19:19:35 2001 Delivered-To: cvs-all@freebsd.org Received: from earth.backplane.com (placeholder-dcat-1076843399.broadbandoffice.net [64.47.83.135]) by hub.freebsd.org (Postfix) with ESMTP id 32CF337B400; Thu, 11 Jan 2001 19:19:13 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id f0C3J5w90928; Thu, 11 Jan 2001 19:19:05 -0800 (PST) (envelope-from dillon) Date: Thu, 11 Jan 2001 19:19:05 -0800 (PST) From: Matt Dillon Message-Id: <200101120319.f0C3J5w90928@earth.backplane.com> To: Warner Losh Cc: Jordan Hubbard , Sheldon Hearn , obrien@FreeBSD.ORG, Doug Barton , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/etc crontab rc src/etc/defaults rc.conf src/etc/mtree BSD.root.dist src/libexec Makefile src/libexec/save-entropy Makefile save-entropy.sh References: <200101120131.f0C1VK980630@earth.backplane.com> <19283.979245383@winston.osd.bsdi.com> <200101112222.f0BMMNs75120@harmony.village.org> <200101120305.f0C35gs77450@harmony.village.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :Why bother? Is there something in the mount_* functions that need :that randomness? Wouldn't extra sources just be wasted effort? I'd :only use them when we can't locate a entroy file. Am I missing :something? Hey, if it's easy... The only reason newfs needs random numbers is to initialize the filesystem id in the superblock and the file generation number in the inode. The file generation number is used as part of a file handle. It is both a security feature and a method which allows NFS to determine if the file handle supplied by a client is stale or not (refers to a file that was previously deleted rather then the file now occupying the inode). There is no security or reboot/consistency issue with MFS because MFS is transitory and not normally exported via NFS. So we don't need strong randomness when doing a mount_mfs. -Matt :: Then we don't have to worry about special casing any codebases in the :: tree. : :Exactly. : :Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message