source: postlfs/filesystems/xfs.xml@ 84da85a

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 84da85a was 0aeb696, checked in by Randy McMurchy <randy@…>, 18 years ago

Added a comment to each file that may need a mention of a test suite added to it, this allows closing of bug #1697

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

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