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

sysvinit
Last change on this file since a82e80a was b27081c4, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

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