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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c1fe1fee was e990cbd9, checked in by Jim Gifford <clfs@…>, 18 years ago

r4333@server: jim | 2006-07-05 10:14:39 -0700

Fixes a possible issue with bootscripts if the
the /usr partition is not mounted during startup. Moved find to /bin and
moved some kbd utilities to /bin.


  • Property mode set to 100644
File size: 5.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-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
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../common/findutils.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
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
28<screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
29 --libexecdir=/usr/lib64/locate --localstatedir=/var/lib64/locate</userinput></screen>
30
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>
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
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="../common/findutils.xml"
63 xpointer="xpointer(//*[@os='h'])"/>
64
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
73 </sect2>
74
75 <sect2 id="contents-findutils" role="content">
76 <title>Contents of Findutils</title>
77
78 <segmentedlist>
79 <segtitle>Installed programs</segtitle>
80
81 <seglistitem>
82 <seg>bigram, code, find, frcode, locate, updatedb, and xargs</seg>
83 </seglistitem>
84 </segmentedlist>
85
86 <variablelist>
87 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
88 <?dbfo list-presentation="list"?>
89 <?dbhtml list-presentation="table"?>
90
91 <varlistentry id="bigram">
92 <term><command>bigram</command></term>
93 <listitem>
94 <para>Was formerly used to produce <command>locate</command>
95 databases</para>
96 <indexterm zone="ch-system-findutils bigram">
97 <primary sortas="b-bigram">bigram</primary>
98 </indexterm>
99 </listitem>
100 </varlistentry>
101
102 <varlistentry id="code">
103 <term><command>code</command></term>
104 <listitem>
105 <para>Was formerly used to produce <command>locate</command>
106 databases; it is the ancestor of <command>frcode</command>.</para>
107 <indexterm zone="ch-system-findutils code">
108 <primary sortas="b-code">code</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
113 <varlistentry id="find">
114 <term><command>find</command></term>
115 <listitem>
116 <para>Searches given directory trees for files matching the specified
117 criteria</para>
118 <indexterm zone="ch-system-findutils find">
119 <primary sortas="b-find">find</primary>
120 </indexterm>
121 </listitem>
122 </varlistentry>
123
124 <varlistentry id="frcode">
125 <term><command>frcode</command></term>
126 <listitem>
127 <para>Is called by <command>updatedb</command> to compress the list
128 of file names; it uses front-compression, reducing the database size
129 by a factor of four to five.</para>
130 <indexterm zone="ch-system-findutils frcode">
131 <primary sortas="b-frcode">frcode</primary>
132 </indexterm>
133 </listitem>
134 </varlistentry>
135
136 <varlistentry id="locate">
137 <term><command>locate</command></term>
138 <listitem>
139 <para>Searches through a database of file names and reports the names
140 that contain a given string or match a given pattern</para>
141 <indexterm zone="ch-system-findutils locate">
142 <primary sortas="b-locate">locate</primary>
143 </indexterm>
144 </listitem>
145 </varlistentry>
146
147 <varlistentry id="updatedb">
148 <term><command>updatedb</command></term>
149 <listitem>
150 <para>Updates the <command>locate</command> database; it scans the
151 entire file system (including other file systems that are currently
152 mounted, unless told not to) and puts every file name it finds into
153 the database</para>
154 <indexterm zone="ch-system-findutils updatedb">
155 <primary sortas="b-updatedb">updatedb</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 <varlistentry id="xargs">
161 <term><command>xargs</command></term>
162 <listitem>
163 <para>Can be used to apply a given command to a list of files</para>
164 <indexterm zone="ch-system-findutils xargs">
165 <primary sortas="b-xargs">xargs</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169
170 </variablelist>
171
172 </sect2>
173
174</sect1>
Note: See TracBrowser for help on using the repository browser.