On Tue, May 21, 2002 at 02:35:45PM -0400, Ken Murchison wrote:
> 
> Its been so long since I committed your patches, I don't remember how
> this stuff works (or is documented).  Is the improved hash stuff only
> available as an 'upgrade' via rehash, or can it be used right out of the
> box on a fresh installation?
The rehash script replaces and supercedes the dohash, mkimap, and
undohash scripts.  It can be used on a fresh installation to create
either type of hashing, or can be used to convert an existing
installation to another type.  Essentially, it reviews the existing
directory structure, adding what is missing, and converting what
needs to be converted.

> If it is only an upgrade, we should work on making it available on a
> fresh installation.  In either case, we should make sure that we have
> all of this documented correctly.

Yes, it would be good to document it.  Here's a piece of what I
submitted originally:

 The `rehash' perl script converts the Cyrus directory structure
 between three hash schemes: none, basic, and full.  `none' means no
 directory hashing at all.  `basic' is the current scheme, based on the
 first letter.  `full' is the new hashing scheme.  This perl script
 replaces several of the other perl scripts in the tools directory:
 dohash, mkimap, and undohash, but not upgradesieve.  The name of the
 new hash scheme must be specified as one of its command-line
 arguments.
 
-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-

Reply via email to