Re: COSS problem

From: Guido Serassio <guido.serassio@dont-contact.us>
Date: Fri, 22 Sep 2006 14:05:55 +0200

Hi,

At 21.42 20/09/2006, Henrik Nordstrom wrote:
>ons 2006-09-20 klockan 21:24 +0200 skrev Guido Serassio:
>
> > I think that it could be better to specify only the path of the
> > directory containing the stripe, and squid should be add
> > automatically the "/stripe" (as example) suffix to the path for the
> > stripe file if the configured path is a file system real directory.
>
>Or you could set cache_swap_log in squid.conf...
>
>But yes, your idea sounds reasonable. Testing if the path is a directory
>should be pretty easy and relatively portable.

The attached patch adds a stripePath() function similar to the 3.0 one.
When the coss cache_dir argument is a directory, the "/stripe" suffix
is automatically added.

Regards

Guido

-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/

Received on Fri Sep 22 2006 - 06:06:22 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:06 MDT