%general-entities; ]> File-&file-version; File <para>The File package contains a utility for determining the type of a given file or files.</para> </sect2> &env-target; <sect2 role="installation"> <title>Installation of File The following patch will fix a compile issue that would prevent a proper creation of the magic.mgc file. This would show up as an error messsage. ERROR: file: File &file-version; supports only 6 version magic files. `/tools/share/file/magic.mgc' is version 2: patch -Np1 -i ../&file-cross_compile-patch; Prepare File for compilation: ./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \ --prefix=/usr Compile the package: make Install the package: make DESTDIR=${CLFS} install Contents of File Installed programs Installed library file libmagic.[a,so] Short Descriptions file Tries to classify each given file; it does this by performing several tests—file system tests, magic number tests, and language tests file libmagic Contains routines for magic number recognition, used by the file program libmagic