Oh yes, the swapfile metadata uses integers rather than fixed-sized
values; damn I forgot about that.

I could probably write a tool to convert those pretty easily

I wonder if I could patch Squid to do things "right"..


Adrian

2008/8/27 Matus UHLAR - fantomas <[EMAIL PROTECTED]>:
>> > On 8/26/08, Adrian Chadd <[EMAIL PROTECTED]> wrote:
>> > > You can just use rsync to copy the storedirs and the swaplogs.
>> > >  You just need to shut the original Squid down first. :)
>
>> On Wed, 27 Aug 2008 11:37:05 +0800
>> "howard chen" <[EMAIL PROTECTED]> wrote:
>> > What is the swaplogs?
>> >
>> > you mean the swap.state & swap.state.last-clean files
>
> On 27.08.08 04:51, RW wrote:
>> In other words, just copy the directory specified in cache_dir
>
> you must keep thhe same arch, e.g. you must not convert between 32 and 64bit
> OS...
>
> if you are migrating that even, I'm not sure if removing swap.* will be
> enough and if that will keep the cache content...
> --
> Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> Remember half the people you know are below average.
>
>

Reply via email to