source: chapter06/file.xml@ 0090db5

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 0090db5 was 0090db5, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Changed typography convections.

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

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