source: chapter06/file.xml@ a48ce94

Last change on this file since a48ce94 was 1609da8, checked in by Matthew Burgess <matthew@…>, 19 years ago

Upgraded to DocBook 4.4 DTD

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4604 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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