source: chapter08/file.xml@ 1f20184

11.1 11.1-rc1 arm multilib trunk xry111/clfs-ng xry111/lfs-next
Last change on this file since 1f20184 was 1f20184, checked in by Bruce Dubbs <bdubbs@…>, 7 months ago

Package updates
Update to gawk-5.1.1.
Update to meson-0.60.0.
Update to libcap-2.60.
Update to gdbm-1.22.
Update to file-5.41.
Update to linux-5.14.15.
Update to iana-etc-20211025.
Update to tzdata-2021e.

Change /bin to /usr/bin in passwd, and revisedchroot.
Fix systemd for new meson.

  • 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.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 <sect1info condition="script">
12 <productname>file</productname>
13 <productnumber>&file-version;</productnumber>
14 <address>&file-url;</address>
15 </sect1info>
16
17 <title>File-&file-version;</title>
18
19 <indexterm zone="ch-system-file">
20 <primary sortas="a-File">File</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The File package contains a utility for determining the type of a given
27 file or files.</para>
28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32
33 <seglistitem>
34 <seg>&file-fin-sbu;</seg>
35 <seg>&file-fin-du;</seg>
36 </seglistitem>
37 </segmentedlist>
38
39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of File</title>
43
44 <para>Prepare File for compilation:</para>
45
46<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
47
48 <para>Compile the package:</para>
49
50<screen><userinput remap="make">make</userinput></screen>
51
52 <para>To test the results, issue:</para>
53
54<screen><userinput remap="test">make check</userinput></screen>
55
56 <para>Install the package:</para>
57
58<screen><userinput remap="install">make install</userinput></screen>
59
60 </sect2>
61
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.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 language
86 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.