source: clfs-sysroot/BOOK/final-system/common/file.xml@ 627724c

Last change on this file since 627724c was 586feb7, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Updated the bootscripts package and make LFS to CLFS updates.

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[02095ae]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-file" role="wrap">
9 <?dbhtml filename="file.html"?>
10
11 <title>File-&file-version;</title>
12
13 <indexterm zone="ch-system-file">
14 <primary sortas="a-File">File</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The File package contains a utility for determining the type of
21 a given file or files.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of File</title>
27
28 <para os="a">Prepare File for compilation:</para>
29
[586feb7]30<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
[02095ae]31
32 <para os="c">Compile the package:</para>
33
34<screen os="d"><userinput>make</userinput></screen>
35
36 <para os="e">Install the package:</para>
37
[586feb7]38<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[02095ae]39
40 </sect2>
41
42 <sect2 id="contents-file" role="content">
43 <title>Contents of File</title>
44
45 <segmentedlist>
46 <segtitle>Installed programs</segtitle>
47 <segtitle>Installed library</segtitle>
48
49 <seglistitem>
50 <seg>file</seg>
51 <seg>libmagic.[a,so]</seg>
52 </seglistitem>
53 </segmentedlist>
54
55 <variablelist>
56 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
57 <?dbfo list-presentation="list"?>
58 <?dbhtml list-presentation="table"?>
59
60 <varlistentry id="file">
61 <term><command>file</command></term>
62 <listitem>
63 <para>Tries to classify each given file; it does this by performing
64 several tests&mdash;file system tests, magic number tests, and
65 language tests</para>
66 <indexterm zone="ch-system-file file">
67 <primary sortas="b-file">file</primary>
68 </indexterm>
69 </listitem>
70 </varlistentry>
71
72 <varlistentry id="libmagic">
73 <term><filename class="libraryfile">libmagic</filename></term>
74 <listitem>
75 <para>Contains routines for magic number recognition, used by the
76 <command>file</command> program</para>
77 <indexterm zone="ch-system-file libmagic">
78 <primary sortas="c-libmagic">libmagic</primary>
79 </indexterm>
80 </listitem>
81 </varlistentry>
82
83 </variablelist>
84
85 </sect2>
86
87</sect1>
Note: See TracBrowser for help on using the repository browser.