source: postlfs/filesystems/xfsprogs.xml@ 10c00a3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 10c00a3 was 10c00a3, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Update to icewm-1.6.1.
Update to nano-4.4.
Update to mpg123-1.25.12.
Update to dhcpcd-8.0.3.
Update to xfsprogs-5.2.1.

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

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