Re: Upgrade from i386 to x86_64

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 05 Apr 2006 04:05:14 +0200

ons 2006-04-05 klockan 11:26 +1200 skrev Reuben Farrelly:

> Wiping squid.state and trying to use the cache_dirs from i386 gives the above
> message...maybe something to do with what is stored in the metadata in each object?

cache format is not platform neutral. When you change platform you need
to wipe your cache.

platform parameters:
 - Byte order
 - 32/64-bit (size of time_t and a few other data types)
 - off_t size

Exception: Going from 32 to 64-bit off_t size on 32-bit platforms is
supported in 2.5.STABLE10 and later as part of the support of caching
files >2GB. But this does not apply when your platform is 64-bits.

It is possible to write a tool translating the cache between different
architectures, but I doubt it's worth the effort. Every single cache
file needs to be rewritten.

Regards
Henrik

Received on Tue Apr 04 2006 - 20:05:23 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:03 MDT