source: BOOK/final-system/multilib/findutils.xml@ 7fc909b

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7fc909b was 807f5e5, checked in by Chris Staub <chris@…>, 18 years ago

Added sed command to fix updatedb

  • Property mode set to 100644
File size: 6.0 KB
RevLine 
[3f8be484]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-findutils" role="wrap">
9 <?dbhtml filename="findutils.html"?>
10
11 <title>Findutils-&findutils-version;</title>
12
13 <indexterm zone="ch-system-findutils">
14 <primary sortas="a-Findutils">Findutils</primary>
15 </indexterm>
16
[1cd688b]17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../common/findutils.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]20
21 <sect2 role="installation">
22 <title>Installation of Findutils</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
25 href="../common/findutils.xml"
26 xpointer="xpointer(//*[@os='a'])"/>
27
[e0e40d3]28<screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
[3f8be484]29 --libexecdir=/usr/lib64/locate --localstatedir=/var/lib64/locate</userinput></screen>
30
[6bb43b3]31 <variablelist os="c">
32 <title>The meaning of the configure options:</title>
33
34 <varlistentry>
35 <term><parameter>--localstatedir</parameter></term>
36 <listitem>
37 <para>This option changes the location of the <command>locate</command>
38 database to be in <filename class="directory">/var/lib64/locate</filename>,
39 which is FHS-compliant.</para>
40 </listitem>
41 </varlistentry>
42
43 </variablelist>
[3f8be484]44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="../common/findutils.xml"
47 xpointer="xpointer(//*[@os='d'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="../common/findutils.xml"
51 xpointer="xpointer(//*[@os='e'])"/>
52
53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54 href="../common/findutils.xml"
55 xpointer="xpointer(//*[@os='f'])"/>
56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="../common/findutils.xml"
59 xpointer="xpointer(//*[@os='g'])"/>
60
[e0e40d3]61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="../common/findutils.xml"
63 xpointer="xpointer(//*[@os='h'])"/>
64
[e990cbd9]65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../common/findutils.xml"
67 xpointer="xpointer(//*[@os='i'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="../common/findutils.xml"
71 xpointer="xpointer(//*[@os='j'])"/>
72
[807f5e5]73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../common/findutils.xml"
75 xpointer="xpointer(//*[@os='k'])"/>
76
77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78 href="../common/findutils.xml"
79 xpointer="xpointer(//*[@os='l'])"/>
80
[3f8be484]81 </sect2>
82
83 <sect2 id="contents-findutils" role="content">
84 <title>Contents of Findutils</title>
85
86 <segmentedlist>
87 <segtitle>Installed programs</segtitle>
88
89 <seglistitem>
90 <seg>bigram, code, find, frcode, locate, updatedb, and xargs</seg>
91 </seglistitem>
92 </segmentedlist>
93
94 <variablelist>
95 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
96 <?dbfo list-presentation="list"?>
97 <?dbhtml list-presentation="table"?>
98
99 <varlistentry id="bigram">
100 <term><command>bigram</command></term>
101 <listitem>
102 <para>Was formerly used to produce <command>locate</command>
103 databases</para>
104 <indexterm zone="ch-system-findutils bigram">
105 <primary sortas="b-bigram">bigram</primary>
106 </indexterm>
107 </listitem>
108 </varlistentry>
109
110 <varlistentry id="code">
111 <term><command>code</command></term>
112 <listitem>
113 <para>Was formerly used to produce <command>locate</command>
114 databases; it is the ancestor of <command>frcode</command>.</para>
115 <indexterm zone="ch-system-findutils code">
116 <primary sortas="b-code">code</primary>
117 </indexterm>
118 </listitem>
119 </varlistentry>
120
121 <varlistentry id="find">
122 <term><command>find</command></term>
123 <listitem>
124 <para>Searches given directory trees for files matching the specified
125 criteria</para>
126 <indexterm zone="ch-system-findutils find">
127 <primary sortas="b-find">find</primary>
128 </indexterm>
129 </listitem>
130 </varlistentry>
131
132 <varlistentry id="frcode">
133 <term><command>frcode</command></term>
134 <listitem>
135 <para>Is called by <command>updatedb</command> to compress the list
136 of file names; it uses front-compression, reducing the database size
137 by a factor of four to five.</para>
138 <indexterm zone="ch-system-findutils frcode">
139 <primary sortas="b-frcode">frcode</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143
144 <varlistentry id="locate">
145 <term><command>locate</command></term>
146 <listitem>
147 <para>Searches through a database of file names and reports the names
148 that contain a given string or match a given pattern</para>
149 <indexterm zone="ch-system-findutils locate">
150 <primary sortas="b-locate">locate</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="updatedb">
156 <term><command>updatedb</command></term>
157 <listitem>
158 <para>Updates the <command>locate</command> database; it scans the
159 entire file system (including other file systems that are currently
160 mounted, unless told not to) and puts every file name it finds into
161 the database</para>
162 <indexterm zone="ch-system-findutils updatedb">
163 <primary sortas="b-updatedb">updatedb</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 <varlistentry id="xargs">
169 <term><command>xargs</command></term>
170 <listitem>
171 <para>Can be used to apply a given command to a list of files</para>
172 <indexterm zone="ch-system-findutils xargs">
173 <primary sortas="b-xargs">xargs</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 </variablelist>
179
180 </sect2>
181
182</sect1>
Note: See TracBrowser for help on using the repository browser.