Go to the first, previous, next, last section, table of contents.
The criterion describes what parts of the filename should match:
filename
-
The entire filename of the target data file must match
name.
basename
-
The basename (filename without directory) of the target data file must
match name.
directory
-
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).
subdirectory
-
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).
suffix
-
The data file's name must end in name. This is useful for
selecting files according to their extension.
filesystem
-
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
ftpfs
filesystems
(4).
default
-
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
-
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
several all
lines for different aspects of zlibc
behaviour.
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
suffix
.
-
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
subdirectory
.
-
A missing name is considered as
default
.
-
All the other names are considered as
basename
.
filesystem
criteria, because these tend to be more predictable.
Go to the first, previous, next, last section, table of contents.