Re: [PATCH] Make squid -z for cache_dir rock work like UFS, not COSS

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Thu, 07 Feb 2013 21:22:17 -0700

On 02/04/2013 09:15 PM, Amos Jeffries wrote:
> On 5/02/2013 8:48 a.m., Alex Rousskov wrote:
>> The attached trunk patch makes squid -z for cache_dir rock work like UFS
>> instead of like COSS.

> +1. Although when comitting can you add a few words to the -z
> description in main.cc usage() function and src/squid.8.in man file, so
> that it is clear this only a create-if-missing action.

Committed to trunk as r12654 with the requested documentation updates.

>> - debugs(0, DBG_CRITICAL, "Creating Swap Directories");
>> + debugs(0, DBG_CRITICAL, "Creating missing swap directories");

I also changed the cache.log message to expose the "missing" logic.
Please undo the above change if you think that too many scripts rely on
matching the old phrase.

The manual page now also documents that squid -z runs in daemon mode
unless -N is also given.

HTH,

Alex.
Received on Fri Feb 08 2013 - 04:22:20 MST

This archive was generated by hypermail 2.2.0 : Fri Feb 08 2013 - 12:00:07 MST