source: final-system/common/file.xml@ e53db169

Last change on this file since e53db169 was eac7362, checked in by Jim Gifford <clfs@…>, 19 years ago

r668@server (orig r666): manuel | 2005-11-08 15:25:13 -0800
Removing SBUs and DUs. Chapter final-system, round 6.

  • Property mode set to 100644
File size: 2.7 KB
RevLine 
[bf8c11f]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 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-system-file" role="wrap">
11 <?dbhtml filename="file.html"?>
12
13 <title>File-&file-version;</title>
14
15 <indexterm zone="ch-system-file">
16 <primary sortas="a-File">File</primary>
17 </indexterm>
18
19 <sect2 role="package">
20 <title/>
21
22 <para>The File package contains a utility for determining the type of
23 a given file or files.</para>
24
25 <segmentedlist>
26 <segtitle>&dependencies;</segtitle>
27
28 <seglistitem>
29 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep,
30 Make, Sed, and Zlib</seg>
31 </seglistitem>
32 </segmentedlist>
33
34 </sect2>
35
36 <sect2 role="installation">
37 <title>Installation of File</title>
38
39 <para os="a">Prepare File for compilation:</para>
40
41<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
42
43 <para os="c">Compile the package:</para>
44
45<screen os="d"><userinput>make</userinput></screen>
46
47 <para os="e">Install the package:</para>
48
49<screen os="f"><userinput>make install</userinput></screen>
50
51 </sect2>
52
53 <sect2 id="contents-file" role="content">
54 <title>Contents of File</title>
55
56 <segmentedlist>
57 <segtitle>Installed programs</segtitle>
58 <segtitle>Installed library</segtitle>
59
60 <seglistitem>
61 <seg>file</seg>
62 <seg>libmagic.[a,so]</seg>
63 </seglistitem>
64 </segmentedlist>
65
66 <variablelist>
67 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
68 <?dbfo list-presentation="list"?>
69 <?dbhtml list-presentation="table"?>
70
71 <varlistentry id="file">
72 <term><command>file</command></term>
73 <listitem>
74 <para>Tries to classify each given file; it does this by performing
75 several tests&mdash;file system tests, magic number tests, and
76 language tests</para>
77 <indexterm zone="ch-system-file file">
78 <primary sortas="b-file">file</primary>
79 </indexterm>
80 </listitem>
81 </varlistentry>
82
83 <varlistentry id="libmagic">
84 <term><filename class="libraryfile">libmagic</filename></term>
85 <listitem>
86 <para>Contains routines for magic number recognition, used by the
87 <command>file</command> program</para>
88 <indexterm zone="ch-system-file libmagic">
89 <primary sortas="c-libmagic">libmagic</primary>
90 </indexterm>
91 </listitem>
92 </varlistentry>
93
94 </variablelist>
95
96 </sect2>
97
98</sect1>
Note: See TracBrowser for help on using the repository browser.