18.104.22.168 File selection Criteria
The criterion describes what parts of the filename should match:
- The entire filename of the target data file must match
- The basename (filename without directory) of the target data file must
- The data file must live in the directory name. If the user
program opens the file with an absolute pathname, that filename is used
as is. If on the other hand the user program uses a relative pathname,
zlibc uses the most direct path to the file (i.e. without symlinks).
- The data file must live in the directory name or in one of its
subdirectories. If the user program opens the file with an absolute
pathname, that filename is used as is. If on the other hand the user
program uses a relative pathname, zlibc uses the most direct path to the
file (i.e. without symlinks).
- The data file's name must end in name. This is useful for
selecting files according to their extension.
- The data file must live on the same filesystem as name. This
criterion can for example be used for example to disable zlibc on a
doublespaced filesystem (where zlibc would be redundant), or to switch
off uncompressed size reporting on an
- All data files match. All class definitions must have a default line,
and this default line must be the last line of the definition. The
default criterion needs no 'name' parameter.
- All data files match. Unlike
default, this line needs not to be
the last line of the class definitions. Thus it is possible to specify
all lines for different aspects of
The lines of each class definition are scanned in sequence, and, for
each aspect(5), the first matching line is
adopted. The class may be defined in another initialisation file, if
this file is scanned later. The criterion parameter may be omitted
if it can be deduced from the name. In that case, the following
heuristics are used:
Names beginning with a dot are considered as
Names beginning with a slash, but not ending with a slash are
considered as filename.
Names beginning and ending with a slash are considered as
A missing name is considered as
All the other names are considered as
filesystem criteria, because these tend to be more predictable.