source: postlfs/filesystems/xfsprogs.xml@ 83f6c770

systemd-13485
Last change on this file since 83f6c770 was 54789f3, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Update to LVM-2.02.420 (merged from trunk r16816).
Update to fuse-2.9.5 (merged from trunk r16814).
Update to gptfdisk-1.0.1 (merged from trunk r16553).
Update to xfsprogs-4.3.0 (merged from trunk r16376).
Update to JOE-4.1 (merged from trunk r16385).
Update to nano-2.5.1 (merged from trunk r16799).
Update to tcsh-6.19.00 (merged from trunk r16332).
Update to zsh-5.2 (merged from trunk r16706).
Update to qemu-2.5.0 (merged from trunk r16773).

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16834 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 13.4 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<!-- <!ENTITY xfsprogs-download-http "&sources-anduin-http;/x/xfsprogs-&xfsprogs-version;.tar.gz">-->
8 <!ENTITY xfsprogs-download-http " ">
9 <!ENTITY xfsprogs-download-ftp "ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs-&xfsprogs-version;.tar.gz">
10 <!ENTITY xfsprogs-md5sum "ade22791338fa3d2cf442d6bb84f1748">
11 <!ENTITY xfsprogs-size "1.5 MB">
12 <!ENTITY xfsprogs-buildsize "63 MB">
13 <!ENTITY xfsprogs-time "0.5 SBU">
14]>
15
16<sect1 id="xfsprogs" xreflabel="xfsprogs-&xfsprogs-version;">
17 <?dbhtml filename="xfsprogs.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>xfsprogs-&xfsprogs-version;</title>
25
26 <indexterm zone="xfsprogs">
27 <primary sortas="a-xfsprogs">xfsprogs</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to xfsprogs</title>
32
33 <para>The <application>xfsprogs</application> package contains administration
34 and debugging tools for the XFS file system.</para>
35
36 &lfs77_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&xfsprogs-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&xfsprogs-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &xfsprogs-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &xfsprogs-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &xfsprogs-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &xfsprogs-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <para condition="html" role="usernotes">User Notes:
61 <ulink url="&blfs-wiki;/xfs"/></para>
62
63 </sect2>
64
65 <sect2 role="kernel" id="xfsprogs-kernel">
66 <title>Kernel Configuration</title>
67
68 <para>Enable the following options in the kernel configuration
69 and recompile the kernel:</para>
70
71<screen><literal>File systems ---&gt;
72 &lt;*/M&gt; XFS filesystem support [CONFIG_XFS_FS]</literal></screen>
73
74 <indexterm zone="xfsprogs xfsprogs-kernel">
75 <primary sortas="d-xfs">XFS Programs</primary>
76 </indexterm>
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of xfsprogs</title>
82
83 <para>Install <application>xfsprogs</application> by running the following
84 commands:</para>
85
86<screen><userinput>make DEBUG=-DNDEBUG \
87 INSTALL_USER=root \
88 INSTALL_GROUP=root \
89 LOCAL_CONFIGURE_OPTIONS="--enable-readline"</userinput></screen>
90
91 <para>This package does not come with a test suite.</para>
92
93 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
94
95<screen role="root"><userinput>make PKG_DOC_DIR=/usr/share/doc/xfsprogs-&xfsprogs-version; install &amp;&amp;
96make PKG_DOC_DIR=/usr/share/doc/xfsprogs-&xfsprogs-version; install-dev &amp;&amp;
97rm -rfv /usr/lib/libhandle.a &amp;&amp;
98rm -rfv /lib/libhandle.{a,la,so} &amp;&amp;
99ln -sfv ../../lib/libhandle.so.1 /usr/lib/libhandle.so &amp;&amp;
100sed -i "s@libdir='/lib@libdir='/usr/lib@" /usr/lib/libhandle.la</userinput></screen>
101
102 </sect2>
103
104 <sect2 role="commands">
105 <title>Command Explanations</title>
106
107 <para><command>make DEBUG=-DNDEBUG</command>: Turns off debugging
108 symbols.</para>
109
110 <para><parameter>INSTALL_USER=root INSTALL_GROUP=root</parameter>: This
111 sets the owner and group of the installed files.</para>
112
113 <para><parameter>LOCAL_CONFIGURE_OPTIONS="..."</parameter>: This passes
114 extra configuration options to the <filename>configure</filename> script.
115 The example <parameter>--enable-readline</parameter> parameter
116 enables linking the XFS programs with the
117 <filename class="libraryfile">libreadline.so</filename> library, in order
118 to allow editing interactive commands.</para>
119
120 <para><parameter>OPTIMIZER="..."</parameter>: Adding this parameter to
121 the end of the <command>make</command> command overrides the
122 default optimization settings.</para>
123
124 </sect2>
125
126 <sect2 role="content">
127 <title>Contents</title>
128
129 <segmentedlist>
130 <segtitle>Installed Programs</segtitle>
131 <segtitle>Installed Libraries</segtitle>
132 <segtitle>Installed Directories</segtitle>
133
134 <seglistitem>
135 <seg>fsck.xfs,
136 mkfs.xfs,
137 xfs_admin,
138 xfs_bmap,
139 xfs_copy,
140 xfs_db,
141 xfs_estimate,
142 xfs_freeze,
143 xfs_fsr,
144 xfs_growfs,
145 xfs_info,
146 xfs_io,
147 xfs_logprint,
148 xfs_mdrestore,
149 xfs_metadump,
150 xfs_mkfile,
151 xfs_ncheck,
152 xfs_quota,
153 xfs_repair,
154 and xfs_rtcp</seg>
155 <seg>libhandle.so</seg>
156 <seg>/usr/include/xfs and /usr/share/doc/xfsprogs-&xfsprogs-version;</seg>
157 </seglistitem>
158 </segmentedlist>
159
160 <variablelist>
161 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
162 <?dbfo list-presentation="list"?>
163 <?dbhtml list-presentation="table"?>
164
165 <varlistentry id="fsck.xfs">
166 <term><command>fsck.xfs</command></term>
167 <listitem>
168 <para>simply exits with a zero status, since XFS
169 partitions are checked at mount time.</para>
170 <indexterm zone="xfsprogs fsck.xfs">
171 <primary sortas="b-fsck.xfs">fsck.xfs</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 <varlistentry id="mkfs.xfs">
177 <term><command>mkfs.xfs</command></term>
178 <listitem>
179 <para>constructs an XFS file system.</para>
180 <indexterm zone="xfsprogs mkfs.xfs">
181 <primary sortas="b-mkfs.xfs">mkfs.xfs</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="xfs_admin">
187 <term><command>xfs_admin</command></term>
188 <listitem>
189 <para>changes the parameters of an XFS file system.</para>
190 <indexterm zone="xfsprogs xfs_admin">
191 <primary sortas="b-xfs_admin">xfs_admin</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="xfs_bmap">
197 <term><command>xfs_bmap</command></term>
198 <listitem>
199 <para>prints block mapping for an XFS file.</para>
200 <indexterm zone="xfsprogs xfs_bmap">
201 <primary sortas="b-xfs_bmap">xfs_bmap</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="xfs_copy">
207 <term><command>xfs_copy</command></term>
208 <listitem>
209 <para>copies the contents of an XFS file system
210 to one or more targets in parallel.</para>
211 <indexterm zone="xfsprogs xfs_copy">
212 <primary sortas="b-xfs_copy">xfs_copy</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="xfs_estimate">
218 <term><command>xfs_estimate</command></term>
219 <listitem>
220 <para>for each directory argument, estimates the space that directory
221 would take if it were copied to an XFS filesystem
222 (does not cross mount points).</para>
223 <indexterm zone="xfsprogs xfs_estimate">
224 <primary sortas="b-xfs_estimate">xfs_estimate</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="xfs_db">
230 <term><command>xfs_db</command></term>
231 <listitem>
232 <para>is used to debug an XFS file system.</para>
233 <indexterm zone="xfsprogs xfs_db">
234 <primary sortas="b-xfs_db">xfs_db</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="xfs_freeze">
240 <term><command>xfs_freeze</command></term>
241 <listitem>
242 <para>suspends access to an XFS file system.</para>
243 <indexterm zone="xfsprogs xfs_freeze">
244 <primary sortas="b-xfs_freeze">xfs_freeze</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="xfs_fsr">
250 <term><command>xfs_fsr</command></term>
251 <listitem>
252 <para>applicable only to XFS filesystems, improves the organization
253 of mounted filesystems, the reorganization algorithm operates on one
254 file at a time, compacting or othewise improving the layout of the
255 file extents (contiguous blocks of file data).</para>
256 <indexterm zone="xfsprogs xfs_fsr">
257 <primary sortas="b-xfs_fsr">xfs_fsr</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 <varlistentry id="xfs_growfs">
263 <term><command>xfs_growfs</command></term>
264 <listitem>
265 <para>expands an XFS file system.</para>
266 <indexterm zone="xfsprogs xfs_growfs">
267 <primary sortas="b-xfs_growfs">xfs_growfs</primary>
268 </indexterm>
269 </listitem>
270 </varlistentry>
271
272 <varlistentry id="xfs_info">
273 <term><command>xfs_info</command></term>
274 <listitem>
275 <para>is equivalent to invoking <command>xfs_growfs</command>, but
276 specifying that no change to the file system is to be made.</para>
277 <indexterm zone="xfsprogs xfs_info">
278 <primary sortas="b-xfs_info">xfs_info</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282
283 <varlistentry id="xfs_io">
284 <term><command>xfs_io</command></term>
285 <listitem>
286 <para>is a debugging tool like <command>xfs_db</command>, but is
287 aimed at examining the regular file I/O path rather than the raw
288 XFS volume itself.</para>
289 <indexterm zone="xfsprogs xfs_io">
290 <primary sortas="b-xfs_io">xfs_io</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 <varlistentry id="xfs_logprint">
296 <term><command>xfs_logprint</command></term>
297 <listitem>
298 <para>prints the log of an XFS file system.</para>
299 <indexterm zone="xfsprogs xfs_logprint">
300 <primary sortas="b-xfs_logprint">xfs_logprint</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry id="xfs_mdrestore">
306 <term><command>xfs_mdrestore</command></term>
307 <listitem>
308 <para>restores an XFS metadump image to a filesystem image.</para>
309 <indexterm zone="xfsprogs xfs_mdrestore">
310 <primary sortas="b-xfs_mdrestore">xfs_mdrestore</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
315 <varlistentry id="xfs_metadump">
316 <term><command>xfs_metadump</command></term>
317 <listitem>
318 <para>copies XFS filesystem metadata to a file.</para>
319 <indexterm zone="xfsprogs xfs_metadump">
320 <primary sortas="b-xfs_metadump">xfs_metadump</primary>
321 </indexterm>
322 </listitem>
323 </varlistentry>
324
325 <varlistentry id="xfs_mkfile">
326 <term><command>xfs_mkfile</command></term>
327 <listitem>
328 <para>creates an XFS file, padded with zeroes by default.</para>
329 <indexterm zone="xfsprogs xfs_mkfile">
330 <primary sortas="b-xfs_mkfile">xfs_mkfile</primary>
331 </indexterm>
332 </listitem>
333 </varlistentry>
334
335 <varlistentry id="xfs_ncheck">
336 <term><command>xfs_ncheck</command></term>
337 <listitem>
338 <para>generates pathnames from inode numbers for an
339 XFS file system.</para>
340 <indexterm zone="xfsprogs xfs_ncheck">
341 <primary sortas="b-xfs_ncheck">xfs_ncheck</primary>
342 </indexterm>
343 </listitem>
344 </varlistentry>
345
346 <varlistentry id="xfs_quota">
347 <term><command>xfs_quota</command></term>
348 <listitem>
349 <para>is a utility for reporting and editing various
350 aspects of filesystem quota.</para>
351 <indexterm zone="xfsprogs xfs_quota">
352 <primary sortas="b-xfs_quota">xfs_quota</primary>
353 </indexterm>
354 </listitem>
355 </varlistentry>
356
357 <varlistentry id="xfs_repair">
358 <term><command>xfs_repair</command></term>
359 <listitem>
360 <para>repairs corrupt or damaged XFS file systems.</para>
361 <indexterm zone="xfsprogs xfs_repair">
362 <primary sortas="b-xfs_repair">xfs_repair</primary>
363 </indexterm>
364 </listitem>
365 </varlistentry>
366
367 <varlistentry id="xfs_rtcp">
368 <term><command>xfs_rtcp</command></term>
369 <listitem>
370 <para>copies a file to the real-time partition on an
371 XFS file system.</para>
372 <indexterm zone="xfsprogs xfs_rtcp">
373 <primary sortas="b-xfs_rtcp">xfs_rtcp</primary>
374 </indexterm>
375 </listitem>
376 </varlistentry>
377
378 <varlistentry id="libhandle">
379 <term><filename class="libraryfile">libhandle.so</filename></term>
380 <listitem>
381 <para>contains XFS-specific functions that provide a way to perform
382 certain filesystem operations without using a file descriptor to
383 access filesystem objects.</para>
384 <indexterm zone="xfsprogs libhandle">
385 <primary sortas="c-libhandle">libhandle.so</primary>
386 </indexterm>
387 </listitem>
388 </varlistentry>
389
390 </variablelist>
391
392 </sect2>
393
394</sect1>
Note: See TracBrowser for help on using the repository browser.