source: postlfs/filesystems/xfsprogs.xml@ 99f86349

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 99f86349 was 99f86349, checked in by Bruce Dubbs <bdubbs@…>, 15 months ago

Update to postfix-3.5.5.
Update to xfsprogs-5.7.0.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23420 af4574ff-66df-0310-9fd7-8a98e5e911e0

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