ldas-tools-diskcacheAPI  2.7.7
Configuration File For The Diskcache

Table of Contents

This document describes the format of the configuration file that is used by the diskcache command line utility.

Introduction

The configuration file has a simple syntax intended to make it easier to pass large quantities of configuration information outside of the standard command line arguments.

Variable Names

Variables have the form <name>=<value>.

SERVER_PORT This is the port on which the server communicates.

CONCURRENCY This is the maximum number of threads used during a scan.

LOG The name of the file to store logging information.

LOG_DIRECTORY The directory in which to write the LOG.

OUTPUT_ASCII The name of the diskcache cache file in ASCII format.

OUTPUT_ASCII_VERSION The version format to use when writing the ASCII cache file.

OUTPUT_BINARY The name of the diskcache cache file in binary format.

OUTPUT_BINARY_VERSION The version format to use when wriing the binary cache file.

Section Names

Section have the form of [<section name>] on a single line with the lines following being entries to associate with <section name>. Sections are terminated by the naming of a new section.

[EXTENSIONS] Each line represents a file extension of interest. To be considered a match, the extension listed must be the right most characters of the filename. The extensions listed in this section must contain the period.

[EXCLUDED_DIRECTORIES] Each line represents a directory name pattern to be excluded from the cache. The pattern may appear anywhere in the directory component of the file being examined.

[MOUNT_POINTS] Each line under this section is a root directory that should be recursively scanned for files of interest. Directories closer to the top will be preferred when searching for files of interest.