(kpathsea.info)Filename database
Invoking kpsewhich Prev:
Path expansion Up:
Path searching
3.4 Filename database (`ls-R') ============================== Kpathsea goes to some lengths to minimize disk accesses for searches (Note: Subdirectory expansion). Nevertheless, at installations with enough directories, searching each possible directory for a given file can take an excessively long time (depending on the speed of the disk, whether it's NFS-mounted, how patient you are, etc.). In practice, a font tree containing the standard PostScript and PCL fonts is large enough for searching to be noticeably slow on typical systems these days. Therefore, Kpathsea can use an externally-built "database" file named `ls-R' that maps files to directories, thus avoiding the need to exhaustively search the disk. A second database file `aliases' allows you to give additional names to the files listed in `ls-R'. This can be helpful to adapt to "8.3" filename conventions in source files. The `ls-R' and `aliases' features are implemented in the source file `kpathsea/db.c'.
ls-R
Filename aliases
Database formatDirfile and infopages generated Sat Dec 3 02:07:54 2005