Re: COSS problem

From: Guido Serassio <guido.serassio@dont-contact.us>
Date: Sun, 24 Sep 2006 10:41:47 +0200

Hi Adrian,

At 04.11 24/09/2006, Adrian Chadd wrote:
>On Sat, Sep 23, 2006, Guido Serassio wrote:
>
> > In storeCossDirSwapLogFile(), if Config.Log.swap is given, things are
> > always OK, but if Config.Log.swap is not configured and sd->path is
> > not a directory, aka is a regular file or a device, things are very
> > wrong: we append "/swap.state" to sd->path ....
> >
> > I think that here we must also add a check if sd->path is a
> > directory, and squid should fatal() if a device or file is specified
> > without configuring cache_swap_log in squid.conf.
>
>Yup. Just add the check.
>
>Does COSS work with raw disk devices under Windows?

I think no: the Windows ReafFileEx() function should work only on
file and socket handles.
Maybe with some undocumented trick ... :-)

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 Sun Sep 24 2006 - 02:42:09 MDT

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