source: postlfs/filesystems/xfsprogs.xml@ 518cff0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 518cff0 was 518cff0, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Update to xfsprogs-3.2.1.
Update to gparted-0.19.1.

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

  • Property mode set to 100644
File size: 12.9 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 "5c6905932029c8f9207fe5a0a8aac24b">
11 <!ENTITY xfsprogs-size "1.5 MB">
12 <!ENTITY xfsprogs-buildsize "45 MB">
13 <!ENTITY xfsprogs-time "0.6 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 &lfs75_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:
72 XFS filesystem support: M or Y</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 INSTALL_USER=root INSTALL_GROUP=root \
87 LOCAL_CONFIGURE_OPTIONS="--enable-readline"</userinput></screen>
88
89 <para>This package does not come with a test suite.</para>
90
91 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
92
93<screen role="root"><userinput>make install install-dev &amp;&amp;
94rm -rfv /lib/libhandle.{a,la,so} &amp;&amp;
95ln -sfv ../../lib/libhandle.so.1 /usr/lib/libhandle.so &amp;&amp;
96sed -i "s@libdir='/lib@libdir='/usr/lib@g" /usr/lib/libhandle.la</userinput></screen>
97
98 </sect2>
99
100 <sect2 role="commands">
101 <title>Command Explanations</title>
102
103 <para><command>make DEBUG=-DNDEBUG</command>: Turns off debugging
104 symbols.</para>
105
106 <para><parameter>INSTALL_USER=root INSTALL_GROUP=root</parameter>: This
107 sets the owner and group of the installed files.</para>
108
109 <para><parameter>LOCAL_CONFIGURE_OPTIONS="..."</parameter>: This passes
110 extra configuration options to the <filename>configure</filename> script.
111 The example <parameter>--enable-readline</parameter> parameter
112 enables linking the XFS programs with the
113 <filename class="libraryfile">libreadline.so</filename> library, in order
114 to allow editing interactive commands.</para>
115
116 <para><parameter>OPTIMIZER="..."</parameter>: Adding this parameter to
117 the end of the <command>make</command> command overrides the
118 default optimization settings.</para>
119
120 </sect2>
121
122 <sect2 role="content">
123 <title>Contents</title>
124
125 <segmentedlist>
126 <segtitle>Installed Programs</segtitle>
127 <segtitle>Installed Libraries</segtitle>
128 <segtitle>Installed Directories</segtitle>
129
130 <seglistitem>
131 <seg>fsck.xfs, mkfs.xfs, xfs_admin, xfs_bmap, xfs_copy, xfs_db,
132 xfs_estimate, xfs_freeze, xfs_fsr, xfs_growfs, xfs_info, xfs_io,
133 xfs_logprint, xfs_mdrestore, xfs_metadump, xfs_mkfile, xfs_ncheck,
134 xfs_quota, xfs_repair, and xfs_rtcp</seg>
135 <seg>libhandle.{so,a}</seg>
136 <seg>/usr/include/xfs and /usr/share/doc/xfsprogs</seg>
137 </seglistitem>
138 </segmentedlist>
139
140 <variablelist>
141 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
142 <?dbfo list-presentation="list"?>
143 <?dbhtml list-presentation="table"?>
144
145 <varlistentry id="fsck.xfs">
146 <term><command>fsck.xfs</command></term>
147 <listitem>
148 <para>simply exits with a zero status, since XFS
149 partitions are checked at mount time.</para>
150 <indexterm zone="xfsprogs fsck.xfs">
151 <primary sortas="b-fsck.xfs">fsck.xfs</primary>
152 </indexterm>
153 </listitem>
154 </varlistentry>
155
156 <varlistentry id="mkfs.xfs">
157 <term><command>mkfs.xfs</command></term>
158 <listitem>
159 <para>constructs an XFS file system.</para>
160 <indexterm zone="xfsprogs mkfs.xfs">
161 <primary sortas="b-mkfs.xfs">mkfs.xfs</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="xfs_admin">
167 <term><command>xfs_admin</command></term>
168 <listitem>
169 <para>changes the parameters of an XFS file system.</para>
170 <indexterm zone="xfsprogs xfs_admin">
171 <primary sortas="b-xfs_admin">xfs_admin</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 <varlistentry id="xfs_bmap">
177 <term><command>xfs_bmap</command></term>
178 <listitem>
179 <para>prints block mapping for an XFS file.</para>
180 <indexterm zone="xfsprogs xfs_bmap">
181 <primary sortas="b-xfs_bmap">xfs_bmap</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="xfs_copy">
187 <term><command>xfs_copy</command></term>
188 <listitem>
189 <para>copies the contents of an XFS file system
190 to one or more targets in parallel.</para>
191 <indexterm zone="xfsprogs xfs_copy">
192 <primary sortas="b-xfs_copy">xfs_copy</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="xfs_estimate">
198 <term><command>xfs_estimate</command></term>
199 <listitem>
200 <para>for each directory argument, estimates the space that directory
201 would take if it were copied to an XFS filesystem
202 (does not cross mount points).</para>
203 <indexterm zone="xfsprogs xfs_estimate">
204 <primary sortas="b-xfs_estimate">xfs_estimate</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 <varlistentry id="xfs_db">
210 <term><command>xfs_db</command></term>
211 <listitem>
212 <para>is used to debug an XFS file system.</para>
213 <indexterm zone="xfsprogs xfs_db">
214 <primary sortas="b-xfs_db">xfs_db</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry id="xfs_freeze">
220 <term><command>xfs_freeze</command></term>
221 <listitem>
222 <para>suspends access to an XFS file system.</para>
223 <indexterm zone="xfsprogs xfs_freeze">
224 <primary sortas="b-xfs_freeze">xfs_freeze</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="xfs_fsr">
230 <term><command>xfs_fsr</command></term>
231 <listitem>
232 <para>applicable only to XFS filesystems, improves the organization
233 of mounted filesystems, the reorganization algorithm operates on one
234 file at a time, compacting or othewise improving the layout of the
235 file extents (contiguous blocks of file data).</para>
236 <indexterm zone="xfsprogs xfs_fsr">
237 <primary sortas="b-xfs_fsr">xfs_fsr</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="xfs_growfs">
243 <term><command>xfs_growfs</command></term>
244 <listitem>
245 <para>expands an XFS file system.</para>
246 <indexterm zone="xfsprogs xfs_growfs">
247 <primary sortas="b-xfs_growfs">xfs_growfs</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="xfs_info">
253 <term><command>xfs_info</command></term>
254 <listitem>
255 <para>is equivalent to invoking <command>xfs_growfs</command>, but
256 specifying that no change to the file system is to be made.</para>
257 <indexterm zone="xfsprogs xfs_info">
258 <primary sortas="b-xfs_info">xfs_info</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 <varlistentry id="xfs_io">
264 <term><command>xfs_io</command></term>
265 <listitem>
266 <para>is a debugging tool like <command>xfs_db</command>, but is
267 aimed at examining the regular file I/O path rather than the raw
268 XFS volume itself.</para>
269 <indexterm zone="xfsprogs xfs_io">
270 <primary sortas="b-xfs_io">xfs_io</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
275 <varlistentry id="xfs_logprint">
276 <term><command>xfs_logprint</command></term>
277 <listitem>
278 <para>prints the log of an XFS file system.</para>
279 <indexterm zone="xfsprogs xfs_logprint">
280 <primary sortas="b-xfs_logprint">xfs_logprint</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
285 <varlistentry id="xfs_mdrestore">
286 <term><command>xfs_mdrestore</command></term>
287 <listitem>
288 <para>restores an XFS metadump image to a filesystem image.</para>
289 <indexterm zone="xfsprogs xfs_mdrestore">
290 <primary sortas="b-xfs_mdrestore">xfs_mdrestore</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 <varlistentry id="xfs_metadump">
296 <term><command>xfs_metadump</command></term>
297 <listitem>
298 <para>copies XFS filesystem metadata to a file.</para>
299 <indexterm zone="xfsprogs xfs_metadump">
300 <primary sortas="b-xfs_metadump">xfs_metadump</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry id="xfs_mkfile">
306 <term><command>xfs_mkfile</command></term>
307 <listitem>
308 <para>creates an XFS file, padded with zeroes by default.</para>
309 <indexterm zone="xfsprogs xfs_mkfile">
310 <primary sortas="b-xfs_mkfile">xfs_mkfile</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
315 <varlistentry id="xfs_ncheck">
316 <term><command>xfs_ncheck</command></term>
317 <listitem>
318 <para>generates pathnames from inode numbers for an
319 XFS file system.</para>
320 <indexterm zone="xfsprogs xfs_ncheck">
321 <primary sortas="b-xfs_ncheck">xfs_ncheck</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325
326 <varlistentry id="xfs_quota">
327 <term><command>xfs_quota</command></term>
328 <listitem>
329 <para>is a utility for reporting and editing various
330 aspects of filesystem quota.</para>
331 <indexterm zone="xfsprogs xfs_quota">
332 <primary sortas="b-xfs_quota">xfs_quota</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
336
337 <varlistentry id="xfs_repair">
338 <term><command>xfs_repair</command></term>
339 <listitem>
340 <para>repairs corrupt or damaged XFS file systems.</para>
341 <indexterm zone="xfsprogs xfs_repair">
342 <primary sortas="b-xfs_repair">xfs_repair</primary>
343 </indexterm>
344 </listitem>
345 </varlistentry>
346
347 <varlistentry id="xfs_rtcp">
348 <term><command>xfs_rtcp</command></term>
349 <listitem>
350 <para>copies a file to the real-time partition on an
351 XFS file system.</para>
352 <indexterm zone="xfsprogs xfs_rtcp">
353 <primary sortas="b-xfs_rtcp">xfs_rtcp</primary>
354 </indexterm>
355 </listitem>
356 </varlistentry>
357
358 <varlistentry id="libhandle">
359 <term><filename class="libraryfile">libhandle.so</filename></term>
360 <listitem>
361 <para>contains XFS-specific functions that provide a way to perform
362 certain filesystem operations without using a file descriptor to
363 access filesystem objects.</para>
364 <indexterm zone="xfsprogs libhandle">
365 <primary sortas="c-libhandle">libhandle.so</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
369
370 </variablelist>
371
372 </sect2>
373
374</sect1>
Note: See TracBrowser for help on using the repository browser.