Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 1999 12:18:35 -0700 (PDT)
From:      <hoek@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
Message-ID:  <199906111918.MAA00907@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




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