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

systemd
Last change on this file since c1dcfc1 was 5dcf5b3a, checked in by Chris Staub <chris@…>, 11 years ago

Don't install find or psmisc binaries to /bin

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