source: clfs-sysroot/BOOK/final-system/common/file.xml @ 02095ae

Last change on this file since 02095ae was 02095ae, checked in by Jim Gifford <clfs@…>, 18 years ago

r3633@server (orig r1649): jciccone | 2006-05-25 16:48:42 -0700
Added the Initial clfs-2.0 branch using sysroot builds.

  • Property mode set to 100644
File size: 2.4 KB
Line 
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
30<screen os="b"><userinput>./configure --prefix=/usr --host=${LFS_TARGET}</userinput></screen>
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
38<screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
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.