From owner-freebsd-bugs Fri Jun 11 12:18:36 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 79A0B14FE4; Fri, 11 Jun 1999 12:18:35 -0700 (PDT) (envelope-from hoek@FreeBSD.org) Received: (from hoek@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA00907; Fri, 11 Jun 1999 12:18:35 -0700 (PDT) (envelope-from hoek@FreeBSD.org) Date: Fri, 11 Jun 1999 12:18:35 -0700 (PDT) From: Message-Id: <199906111918.MAA00907@freefall.freebsd.org> To: andrew@ugh.net.au, hoek@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/6711: [PATCH ?] I've seen that fortune before Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: [PATCH ?] I've seen that fortune before State-Changed-From-To: suspended->closed State-Changed-By: hoek State-Changed-When: Fri Jun 11 12:12:39 PDT 1999 State-Changed-Why: Using "fortune all" won't really cause a decrease in the number of fortunes that you read twice. Examine the following, b$ fortune -f ___% /usr/share/games/fortune ___% fortunes ___% fortunes2 b$ fortune -f all ___% /usr/share/games/fortune ___% fortunes ___% fortunes2 ___% startrek ___% zippy ___% limerick b$ ls -l fortunes fortunes2 startrek zippy limerick -r--r--r-- 1 root games 582273 May 28 04:31 fortunes -r--r--r-- 1 root games 2063664 May 28 04:31 fortunes2 -r--r--r-- 1 root games 144252 May 28 04:31 limerick -r--r--r-- 1 root games 27502 May 28 04:31 startrek -r--r--r-- 1 root games 38744 May 28 04:31 zippy b$ The problem of repeated fortunes is/was most likely a result of poor randomness, which was fixed in FreeBSD 3 by using /dev/random to get better randomness. [Besides, I like to keep my star-trek and zippy quotes for special days - ]. [Note that especially once limerick is moved to limeric-o, the additional two fortune files make almost no difference to the total number of fortunes available.]. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message