format of fortune.dat files

Dan Cross crossd at gmail.com
Thu Nov 13 14:11:01 PST 2014


Almost certainly a different header structure.  I don't think that the
Berkeley and Linux versions of fortune share much in the way of code, let
alone structure.  But I don't know.

On Thu, Nov 13, 2014 at 4:53 PM, Pierre Abbat <phma at leaf.dragonflybsd.org>
wrote:

> I have two files of sayings which I use in my sig in email. For two days my
> laptop (which runs Linux) was in the shop getting its memory tested, so I
> used
> my DragonFly box to read and write email. (It did not work very well. Kmail
> spent hours fetching email headers from my IMAP server; if I clicked on a
> message while it was doing this, it wouldn't display the message until it
> finished reading the folder, if at all.) I rsynced lots of stuff,
> including the
> sig files. The dat files turned out to be garbage in DFly. I got the
> laptop back
> today, copied the dat files to /tmp, and rsynced everything back. Here's
> the
> Linux version of one of the dat files:
>
> 00000002 00000008 0000005a 00000018 00000000 25000000 00000000 0000003b
> 0000005d 000000a8 00000104 0000013c 00000156 0000017d 0000019f
>
> Here's the DragonFly version of the same file:
>
> 00000001 00000000 00000008 00000000 0000005a 00000000 00000018 00000000
> 00000000 00000000 25000000 00000000 00000000 00000000 0000003b 00000000
> 0000005d 00000000 000000a8 00000000 00000104 00000000 0000013c 00000000
> 00000156 00000000 0000017d 00000000 0000019f 00000000
>
> Both are 64-bit OSes. Why does DragonFly have the extra zeros, making the
> file
> twice as big?
>
> Pierre
> --
> When a barnacle settles down, its brain disintegrates.
> Já não percebe nada, já não percebe nada.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20141113/34b3fb58/attachment-0003.htm>


More information about the Users mailing list