Ignore:
Timestamp:
02/19/2005 10:16:42 PM (19 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
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.1, 6.1.1, 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
Children:
3d31fc4
Parents:
2f9131f
Message:

Trunk is now identical to Testing

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/findutils.xml

    r2f9131f r81fd230  
    44  %general-entities;
    55]>
    6 <sect1 id="ch-system-findutils" xreflabel="Findutils" role="wrap">
     6<sect1 id="ch-system-findutils" role="wrap">
    77<title>Findutils-&findutils-version;</title>
    88<?dbhtml filename="findutils.html"?>
     
    1111
    1212<sect2 role="package"><title/>
     13<para>The Findutils package contains programs to find files. Processes
     14are provided to recursively search through a directory tree and to
     15create, maintain, and search a database (often faster than the recursive
     16find, but unreliable if the database has not been recently updated).</para>
    1317
    1418<segmentedlist>
     
    1822</segmentedlist>
    1923
     24<segmentedlist>
     25<segtitle>Findutils installation depends on</segtitle>
     26<seglistitem><seg>Bash, Binutils, Coreutils,
     27Diffutils, GCC, Gettext, Glibc, Grep, Make and Sed</seg></seglistitem>
     28</segmentedlist>
    2029</sect2>
    2130
     
    2837    --localstatedir=/var/lib/locate</userinput></screen>
    2938
     39<para>The <parameter>localstatedir</parameter> directive above changes the
     40location of the <command>locate</command> database to be in <filename
     41class="directory">/var/lib/locate</filename>, which is FHS-compliant.</para>
     42
    3043<para>Compile the package:</para>
    3144
     
    3548<userinput>make check</userinput>.</para>
    3649
    37 <para>Now install the package:</para>
     50<para>Install the package:</para>
    3851
    3952<screen><userinput>make install</userinput></screen>
     
    4154</sect2>
    4255
    43 
    4456<sect2 id="contents-findutils" role="content"><title>Contents of Findutils</title>
    4557
    46 <para>See testing</para>
     58<segmentedlist>
     59<segtitle>Installed programs</segtitle>
     60<seglistitem><seg>bigram, code, find, frcode, locate, updatedb, and xargs</seg></seglistitem>
     61</segmentedlist>
     62
     63<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
     64<?dbfo list-presentation="list"?>
     65
     66<varlistentry id="bigram">
     67<term><command>bigram</command></term>
     68<listitem>
     69<para>Was formerly used to produce <command>locate</command> databases</para>
     70<indexterm zone="ch-system-findutils bigram"><primary sortas="b-bigram">bigram</primary></indexterm>
     71</listitem>
     72</varlistentry>
     73
     74<varlistentry id="code">
     75<term><command>code</command></term>
     76<listitem>
     77<para>Was formerly used to produce <command>locate</command>
     78databases; it is the ancestor of <command>frcode</command>.</para>
     79<indexterm zone="ch-system-findutils code"><primary sortas="b-code">code</primary></indexterm>
     80</listitem>
     81</varlistentry>
     82
     83<varlistentry id="find">
     84<term><command>find</command></term>
     85<listitem>
     86<para>Searches given directory trees for files matching the specified criteria</para>
     87<indexterm zone="ch-system-findutils find"><primary sortas="b-find">find</primary></indexterm>
     88</listitem>
     89</varlistentry>
     90
     91<varlistentry id="frcode">
     92<term><command>frcode</command></term>
     93<listitem>
     94<para>Is called by <command>updatedb</command> to compress the list of file names; it uses
     95front-compression, reducing the database size by a factor of four to
     96five.</para>
     97<indexterm zone="ch-system-findutils frcode"><primary sortas="b-frcode">frcode</primary></indexterm>
     98</listitem>
     99</varlistentry>
     100
     101<varlistentry id="locate">
     102<term><command>locate</command></term>
     103<listitem>
     104<para>Searches through a database of file names and reports the names
     105that contain a given string or match a given pattern</para>
     106<indexterm zone="ch-system-findutils locate"><primary sortas="b-locate">locate</primary></indexterm>
     107</listitem>
     108</varlistentry>
     109
     110<varlistentry id="updatedb">
     111<term><command>updatedb</command></term>
     112<listitem>
     113<para>Updates the <command>locate</command> database; it scans
     114the entire file system (including other file systems that are currently mounted,
     115unless told not to) and puts every file name it finds into the database</para>
     116<indexterm zone="ch-system-findutils updatedb"><primary sortas="b-updatedb">updatedb</primary></indexterm>
     117</listitem>
     118</varlistentry>
     119
     120<varlistentry id="xargs">
     121<term><command>xargs</command></term>
     122<listitem>
     123<para>Can be used to apply a given command to a list of files</para>
     124<indexterm zone="ch-system-findutils xargs"><primary sortas="b-xargs">xargs</primary></indexterm>
     125</listitem>
     126</varlistentry>
     127</variablelist>
    47128
    48129</sect2>
    49130
    50131</sect1>
     132
Note: See TracChangeset for help on using the changeset viewer.