Added a few comments here and there
[linux_from_scratch.git] / newxml / appendixa / file.xml
blob2915008c9124bf033621c29c3ab4f5184417d088
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3CR2//EN" "http://www.docbook.org/xml/4.3CR2/docbookx.dtd" [
3   <!ENTITY % file-entities SYSTEM "../ent/file.ent">
4   %file-entities;
5 ]>
6 <sect1 id="aa-file" xreflabel="File">
7 <title>File</title>
8 <?dbhtml filename="file.html"?>
10 <para>For installation instructions see <xref linkend="ch06-file"/>.</para>
12 <sect2><title>Official Download Location</title>
14 <literallayout>File (&file-version;): 
15 <ulink url="ftp://ftp.gw.com/mirrors/pub/unix/file/"/>
17 Alternate Download Location:
18 <ulink url="ftp://gaosu.rave.org/pub/linux/lfs/"/></literallayout>
19 </sect2>
21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="file-contents.xml"/>
25 <sect2><title>Short description</title>
27 <para><command>file</command> tries to classify each given file. It does
28 this by performing several tests: filesystem tests, magic number tests, and
29 language tests. The first test that succeeds determines the result.</para>
31 <para><command>libmagic</command> contains routines for magic number
32 recognition, used by the file program.</para>
34 </sect2>
38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="file-deps.xml"/>
42 </sect1>