source: BOOK/final-system/common/file.xml@ 7a6a0d8

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7a6a0d8 was e1153ea, checked in by Jim Gifford <clfs@…>, 18 years ago

r3371@server (orig r1554): chris | 2006-05-10 14:03:44 -0700
Removed dependency info from individual package instructions

  • 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</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">This package does not come with a test suite.</para>
37
38 <para os="f">Install the package:</para>
39
40<screen os="g"><userinput>make install</userinput></screen>
41
42 </sect2>
43
44 <sect2 id="contents-file" role="content">
45 <title>Contents of File</title>
46
47 <segmentedlist>
48 <segtitle>Installed programs</segtitle>
49 <segtitle>Installed library</segtitle>
50
51 <seglistitem>
52 <seg>file</seg>
53 <seg>libmagic.[a,so]</seg>
54 </seglistitem>
55 </segmentedlist>
56
57 <variablelist>
58 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
59 <?dbfo list-presentation="list"?>
60 <?dbhtml list-presentation="table"?>
61
62 <varlistentry id="file">
63 <term><command>file</command></term>
64 <listitem>
65 <para>Tries to classify each given file; it does this by performing
66 several tests&mdash;file system tests, magic number tests, and
67 language tests</para>
68 <indexterm zone="ch-system-file file">
69 <primary sortas="b-file">file</primary>
70 </indexterm>
71 </listitem>
72 </varlistentry>
73
74 <varlistentry id="libmagic">
75 <term><filename class="libraryfile">libmagic</filename></term>
76 <listitem>
77 <para>Contains routines for magic number recognition, used by the
78 <command>file</command> program</para>
79 <indexterm zone="ch-system-file libmagic">
80 <primary sortas="c-libmagic">libmagic</primary>
81 </indexterm>
82 </listitem>
83 </varlistentry>
84
85 </variablelist>
86
87 </sect2>
88
89</sect1>
Note: See TracBrowser for help on using the repository browser.