source: postlfs/filesystems/xfs.xml@ 3597eb6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 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 gnome kde5-13430 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 3597eb6 was 3597eb6, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #7

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

  • Property mode set to 100644
File size: 11.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY xfsprogs-download-http "http://mirrors.sunsite.dk/xfs/download/cmd_tars/xfsprogs-&xfsprogs-version;.src.tar.gz">
8 <!ENTITY xfsprogs-download-ftp "ftp://oss.sgi.com/projects/xfs/download/cmd_tars/xfsprogs-&xfsprogs-version;.src.tar.gz">
9 <!ENTITY xfsprogs-md5sum "d4a78fced98c0f3f32627a473e8e0a59">
10 <!ENTITY xfsprogs-size "878 KB">
11 <!ENTITY xfsprogs-buildsize "17.3 MB">
12 <!ENTITY xfsprogs-time "0.78 SBU">
13]>
14
15<sect1 id="xfs" xreflabel="XFS-&xfsprogs-version;">
16 <?dbhtml filename="xfsfs.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 <keywordset>
22 <keyword role="package">xfsprogs-&xfsprogs-version;.src.tar</keyword>
23 <keyword role="ftpdir">xfsprogs</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>XFS-&xfsprogs-version;</title>
28
29 <indexterm zone="xfs">
30 <primary sortas="a-XFS">XFS</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to XFS</title>
35
36 <para>The <application>XFS</application> package contains administration
37 and debugging tools for the XFS file system.</para>
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&xfsprogs-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&xfsprogs-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &xfsprogs-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &xfsprogs-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &xfsprogs-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &xfsprogs-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <para condition="html" role="usernotes">User Notes:
62 <ulink url="&blfs-wiki;/xfs"/></para>
63
64 </sect2>
65
66 <sect2 role="installation">
67 <title>Installation of XFS</title>
68
69 <note>
70 <para>If you did not install the
71 <ulink url="&lfs-root;/chapter06/e2fsprogs.html">E2fsprogs</ulink>
72 package in LFS, you must install it, or
73 <ulink url="http://pecl.php.net/package/uuid">UUID</ulink> before
74 proceeding with the installation of <application>XFS</application>.</para>
75 </note>
76
77 <para>Install <application>XFS</application> by running the following
78 commands:</para>
79
80<screen><userinput>sed -i '/autoconf/d' Makefile &amp;&amp;
81make DEBUG=-DNDEBUG</userinput></screen>
82
83 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
84
85<screen role="root"><userinput>make install</userinput></screen>
86
87 <para>The <application>XFS</application> library installation is
88 incomplete. To finish the installation, issue the following commands
89 as the <systemitem class="username">root</systemitem> user:</para>
90
91<screen role="root"><userinput>chmod -v 755 /lib/libhandle.so* &amp;&amp;
92install -v -m755 -D libhandle/libhandle.la /usr/lib/libhandle.la &amp;&amp;
93install -v -m644 libhandle/.libs/libhandle.a /usr/lib &amp;&amp;
94ln -sv ../../lib/libhandle.so.1 /usr/lib/libhandle.so</userinput></screen>
95
96 </sect2>
97
98 <sect2 role="commands">
99 <title>Command Explanations</title>
100
101 <para><command>sed -i '/autoconf/d' Makefile</command>: This command
102 disables running <command>autoconf</command> because it is
103 unnecessary.</para>
104
105 <para><command>make DEBUG=-DNDEBUG</command>: The <application>XFS
106 </application> build will fail using the default -DDEBUG flags.</para>
107
108 <para><parameter>OPTIMIZER="..."</parameter>: Adding this parameter to
109 the <command>make</command> command overrides the default optimization
110 settings.</para>
111
112 <para><command>install -v ...</command>: These commands install the
113 static library and libtool archive for <filename>libhandle</filename>.</para>
114
115 <para><command>ln -sv ...</command>: This command installs a symlink
116 that is missed by the <command>make install</command> command.</para>
117
118 </sect2>
119
120 <sect2 role="content">
121 <title>Contents</title>
122
123 <segmentedlist>
124 <segtitle>Installed Programs</segtitle>
125 <segtitle>Installed Library</segtitle>
126 <segtitle>Installed Directory</segtitle>
127
128 <seglistitem>
129 <seg>fsck.xfs, mkfs.xfs, xfs_admin, xfs_bmap, xfs_check, xfs_copy,
130 xfs_db, xfs_freeze, xfs_growfs, xfs_info, xfs_io, xfs_logprint,
131 xfs_mkfile, xfs_ncheck, xfs_repair, and xfs_rtcp</seg>
132 <seg>libhandle.{so,a}</seg>
133 <seg>/usr/share/doc/xfsprogs</seg>
134 </seglistitem>
135 </segmentedlist>
136
137 <variablelist>
138 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
139 <?dbfo list-presentation="list"?>
140 <?dbhtml list-presentation="table"?>
141
142 <varlistentry id="fsck.xfs">
143 <term><command>fsck.xfs</command></term>
144 <listitem>
145 <para>simply exits with a zero status, since XFS
146 partitions are checked at mount time.</para>
147 <indexterm zone="xfs fsck.xfs">
148 <primary sortas="b-fsck.xfs">fsck.xfs</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="mkfs.xfs">
154 <term><command>mkfs.xfs</command></term>
155 <listitem>
156 <para>constructs an XFS file system.</para>
157 <indexterm zone="xfs mkfs.xfs">
158 <primary sortas="b-mkfs.xfs">mkfs.xfs</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="xfs_admin">
164 <term><command>xfs_admin</command></term>
165 <listitem>
166 <para>changes the parameters of an XFS file system.</para>
167 <indexterm zone="xfs xfs_admin">
168 <primary sortas="b-xfs_admin">xfs_admin</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry id="xfs_bmap">
174 <term><command>xfs_bmap</command></term>
175 <listitem>
176 <para>prints block mapping for an XFS file.</para>
177 <indexterm zone="xfs xfs_bmap">
178 <primary sortas="b-xfs_bmap">xfs_bmap</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="xfs_check">
184 <term><command>xfs_check</command></term>
185 <listitem>
186 <para>checks XFS file system consistency.</para>
187 <indexterm zone="xfs xfs_check">
188 <primary sortas="b-xfs_check">xfs_check</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="xfs_copy">
194 <term><command>xfs_copy</command></term>
195 <listitem>
196 <para>copies the contents of an XFS file system
197 to one or more targets in parallel.</para>
198 <indexterm zone="xfs xfs_copy">
199 <primary sortas="b-xfs_copy">xfs_copy</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="xfs_db">
205 <term><command>xfs_db</command></term>
206 <listitem>
207 <para>is used to debug an XFS file system.</para>
208 <indexterm zone="xfs xfs_db">
209 <primary sortas="b-xfs_db">xfs_db</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="xfs_freeze">
215 <term><command>xfs_freeze</command></term>
216 <listitem>
217 <para>suspends access to an XFS file system.</para>
218 <indexterm zone="xfs xfs_freeze">
219 <primary sortas="b-xfs_freeze">xfs_freeze</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="xfs_growfs">
225 <term><command>xfs_growfs</command></term>
226 <listitem>
227 <para>expands an XFS file system.</para>
228 <indexterm zone="xfs xfs_growfs">
229 <primary sortas="b-xfs_growfs">xfs_growfs</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="xfs_info">
235 <term><command>xfs_info</command></term>
236 <listitem>
237 <para>is equivalent to invoking <command>xfs_growfs</command>, but
238 specifying that no change to the file system is to be made.</para>
239 <indexterm zone="xfs xfs_info">
240 <primary sortas="b-xfs_info">xfs_info</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry id="xfs_io">
246 <term><command>xfs_io</command></term>
247 <listitem>
248 <para>is a debugging tool like <command>xfs_db</command>, but is
249 aimed at examining the regular file I/O path rather than the raw
250 XFS volume itself.</para>
251 <indexterm zone="xfs xfs_io">
252 <primary sortas="b-xfs_io">xfs_io</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
257 <varlistentry id="xfs_logprint">
258 <term><command>xfs_logprint</command></term>
259 <listitem>
260 <para>prints the log of an XFS file system.</para>
261 <indexterm zone="xfs xfs_logprint">
262 <primary sortas="b-xfs_logprint">xfs_logprint</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="xfs_mkfile">
268 <term><command>xfs_mkfile</command></term>
269 <listitem>
270 <para>creates an XFS file, padded with zeroes by default.</para>
271 <indexterm zone="xfs xfs_mkfile">
272 <primary sortas="b-xfs_mkfile">xfs_mkfile</primary>
273 </indexterm>
274 </listitem>
275 </varlistentry>
276
277 <varlistentry id="xfs_ncheck">
278 <term><command>xfs_ncheck</command></term>
279 <listitem>
280 <para>generates pathnames from inode numbers for an
281 XFS file system.</para>
282 <indexterm zone="xfs xfs_ncheck">
283 <primary sortas="b-xfs_ncheck">xfs_ncheck</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="xfs_quota">
289 <term><command>xfs_quota</command></term>
290 <listitem>
291 <para>is a utility for reporting and editing various
292 aspects of filesystem quota.</para>
293 <indexterm zone="xfs xfs_quota">
294 <primary sortas="b-xfs_quota">xfs_quota</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298
299 <varlistentry id="xfs_repair">
300 <term><command>xfs_repair</command></term>
301 <listitem>
302 <para>repairs corrupt or damaged XFS file systems.</para>
303 <indexterm zone="xfs xfs_repair">
304 <primary sortas="b-xfs_repair">xfs_repair</primary>
305 </indexterm>
306 </listitem>
307 </varlistentry>
308
309 <varlistentry id="xfs_rtcp">
310 <term><command>xfs_rtcp</command></term>
311 <listitem>
312 <para>copies a file to the real-time partition on an
313 XFS file system.</para>
314 <indexterm zone="xfs xfs_rtcp">
315 <primary sortas="b-xfs_rtcp">xfs_rtcp</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 <varlistentry id="libhandle">
321 <term><filename class='libraryfile'>libhandle.so</filename></term>
322 <listitem>
323 <para>contains functions to map filesystem handles to a
324 corresponding open file descriptor for that filesystem.</para>
325 <indexterm zone="xfs libhandle">
326 <primary sortas="c-libhandle">libhandle.so</primary>
327 </indexterm>
328 </listitem>
329 </varlistentry>
330
331 </variablelist>
332
333 </sect2>
334
335</sect1>
Note: See TracBrowser for help on using the repository browser.