source: chapter06/file.xml@ 519ee45

6.2
Last change on this file since 519ee45 was 519ee45, checked in by Bruce Dubbs <bdubbs@…>, 18 years ago

Changing branch name

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

  • Property mode set to 100644
File size: 2.6 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 a given
21 file or files.</para>
22
23 <segmentedlist>
24 <segtitle>&buildtime;</segtitle>
25 <segtitle>&diskspace;</segtitle>
26
27 <seglistitem>
28 <seg>&file-ch6-sbu;</seg>
29 <seg>&file-ch6-du;</seg>
30 </seglistitem>
31 </segmentedlist>
32
33 </sect2>
34
35 <sect2 role="installation">
36 <title>Installation of File</title>
37
38 <para>Prepare File for compilation:</para>
39
40<screen><userinput>./configure --prefix=/usr</userinput></screen>
41
42 <para>Compile the package:</para>
43
44<screen><userinput>make</userinput></screen>
45
46 <para>This package does not come with a test suite.</para>
47
48 <para>Install the package:</para>
49
50<screen><userinput>make install</userinput></screen>
51
52 </sect2>
53
54
55 <sect2 id="contents-file" role="content">
56 <title>Contents of File</title>
57
58 <segmentedlist>
59 <segtitle>Installed programs</segtitle>
60 <segtitle>Installed library</segtitle>
61
62 <seglistitem>
63 <seg>file</seg>
64 <seg>libmagic.{a,so}</seg>
65 </seglistitem>
66 </segmentedlist>
67
68 <variablelist>
69 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
70 <?dbfo list-presentation="list"?>
71 <?dbhtml list-presentation="table"?>
72
73 <varlistentry id="file">
74 <term><command>file</command></term>
75 <listitem>
76 <para>Tries to classify each given file; it does this by performing
77 several tests&mdash;file system tests, magic number tests, and language
78 tests</para>
79 <indexterm zone="ch-system-file file">
80 <primary sortas="b-file">file</primary>
81 </indexterm>
82 </listitem>
83 </varlistentry>
84
85 <varlistentry id="libmagic">
86 <term><filename class="libraryfile">libmagic</filename></term>
87 <listitem>
88 <para>Contains routines for magic number recognition, used by the
89 <command>file</command> program</para>
90 <indexterm zone="ch-system-file libmagic">
91 <primary sortas="c-libmagic">libmagic</primary>
92 </indexterm>
93 </listitem>
94 </varlistentry>
95
96 </variablelist>
97
98 </sect2>
99
100</sect1>
Note: See TracBrowser for help on using the repository browser.