source: final-system/common/file.xml@ 91b682b

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

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 2.9 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 <!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>&buildtime;</segtitle>
27 <segtitle>&diskspace;</segtitle>
28
29 <seglistitem>
30 <seg>Not checked yet</seg>
31 <seg>Not checked yet</seg>
32 </seglistitem>
33 </segmentedlist>
34
35 <segmentedlist>
36 <segtitle>&dependencies;</segtitle>
37
38 <seglistitem>
39 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep,
40 Make, Sed, and Zlib</seg>
41 </seglistitem>
42 </segmentedlist>
43
44 </sect2>
45
46 <sect2 role="installation">
47 <title>Installation of File</title>
48
49 <para os="a">Prepare File for compilation:</para>
50
51<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
52
53 <para os="c">Compile the package:</para>
54
55<screen os="d"><userinput>make</userinput></screen>
56
57 <para os="e">Install the package:</para>
58
59<screen os="f"><userinput>make install</userinput></screen>
60
61 </sect2>
62
63 <sect2 id="contents-file" role="content">
64 <title>Contents of File</title>
65
66 <segmentedlist>
67 <segtitle>Installed programs</segtitle>
68 <segtitle>Installed library</segtitle>
69
70 <seglistitem>
71 <seg>file</seg>
72 <seg>libmagic.[a,so]</seg>
73 </seglistitem>
74 </segmentedlist>
75
76 <variablelist>
77 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
78 <?dbfo list-presentation="list"?>
79 <?dbhtml list-presentation="table"?>
80
81 <varlistentry id="file">
82 <term><command>file</command></term>
83 <listitem>
84 <para>Tries to classify each given file; it does this by performing
85 several tests&mdash;file system tests, magic number tests, and
86 language tests</para>
87 <indexterm zone="ch-system-file file">
88 <primary sortas="b-file">file</primary>
89 </indexterm>
90 </listitem>
91 </varlistentry>
92
93 <varlistentry id="libmagic">
94 <term><filename class="libraryfile">libmagic</filename></term>
95 <listitem>
96 <para>Contains routines for magic number recognition, used by the
97 <command>file</command> program</para>
98 <indexterm zone="ch-system-file libmagic">
99 <primary sortas="c-libmagic">libmagic</primary>
100 </indexterm>
101 </listitem>
102 </varlistentry>
103
104 </variablelist>
105
106 </sect2>
107
108</sect1>
Note: See TracBrowser for help on using the repository browser.