source: postlfs/filesystems/xfs.xml@ 59ebf93

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 59ebf93 was 59ebf93, checked in by Randy McMurchy <randy@…>, 17 years ago

Removed broken XFS download URL

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

  • Property mode set to 100644
File size: 12.0 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 "http://mirrors.sunsite.dk/xfs/download/cmd_tars/xfsprogs_&xfsprogs-version;-1.tar.gz"> -->
8 <!ENTITY xfsprogs-download-http " ">
9 <!ENTITY xfsprogs-download-ftp "ftp://oss.sgi.com/projects/xfs/download/cmd_tars/xfsprogs_&xfsprogs-version;-1.tar.gz">
10 <!ENTITY xfsprogs-md5sum "6ce9e198cc79ebec6f6fb1f34ffa7709">
11 <!ENTITY xfsprogs-size "956 KB">
12 <!ENTITY xfsprogs-buildsize "17.9 MB">
13 <!ENTITY xfsprogs-time "0.57 SBU">
14]>
15
16<sect1 id="xfs" xreflabel="XFS-&xfsprogs-version;">
17 <?dbhtml filename="xfsfs.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>XFS-&xfsprogs-version;</title>
25
26 <indexterm zone="xfs">
27 <primary sortas="a-XFS">XFS</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to XFS</title>
32
33 <para>The <application>XFS</application> package contains administration
34 and debugging tools for the XFS file system.</para>
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&xfsprogs-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&xfsprogs-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &xfsprogs-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &xfsprogs-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &xfsprogs-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &xfsprogs-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <para condition="html" role="usernotes">User Notes:
59 <ulink url="&blfs-wiki;/xfs"/></para>
60
61 </sect2>
62
63 <sect2 role="installation">
64 <title>Installation of XFS</title>
65
66 <para>Install <application>XFS</application> by running the following
67 commands:</para>
68
69<screen><userinput>sed -i '/autoconf/d' Makefile &amp;&amp;
70make DEBUG=-DNDEBUG INSTALL_USER=root INSTALL_GROUP=root \
71 LOCAL_CONFIGURE_OPTIONS="--enable-readline=yes"</userinput></screen>
72
73 <para>This package does not come with a test suite.</para>
74
75 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
76
77<screen role="root"><userinput>make install &amp;&amp;
78make install-dev &amp;&amp;
79install -v -m755 -D libhandle/libhandle.la /usr/lib/libhandle.la &amp;&amp;
80chmod -v 755 /lib/libhandle.so* &amp;&amp;
81rm -f /lib/libhandle.{a,la,so} &amp;&amp;
82ln -svf ../../lib/libhandle.so.1 /usr/lib/libhandle.so</userinput></screen>
83
84 </sect2>
85
86 <sect2 role="commands">
87 <title>Command Explanations</title>
88
89 <para><command>sed -i '/autoconf/d' Makefile</command>: This command
90 disables running <command>autoconf</command> because it is
91 unnecessary.</para>
92
93 <para><command>make DEBUG=-DNDEBUG</command>: The <application>XFS
94 </application> build will fail using the default -DDEBUG flags.</para>
95
96 <para><parameter>INSTALL_USER=root INSTALL_GROUP=root</parameter>: This
97 sets the owner and group of the installed files.</para>
98 <!-- relevant only if building as non-root -->
99
100 <para><parameter>LOCAL_CONFIGURE_OPTIONS="..."</parameter>: This passes
101 extra configuration options to the <filename>configure</filename> script.
102 The example <parameter>--enable-readline=yes</parameter> parameter
103 enables linking the XFS programs with the
104 <filename class="libraryfile">libreadline.so</filename> library, in order
105 to allow editing interactive commands.</para>
106
107 <para><parameter>OPTIMIZER="..."</parameter>: Adding this parameter to
108 the end of the <command>make</command> command overrides the
109 default optimization settings.</para>
110
111 <para><command>make install-dev</command>: This command installs
112 static XFS libraries, their headers and the corresponding documentation.
113 Currently, <ulink url="ftp://oss.sgi.com/projects/xfs/">DMAPI</ulink>
114 and <ulink url="ftp://oss.sgi.com/projects/xfs/">xfsdump</ulink> are
115 the only packages that use the installed libraries.</para>
116 <!-- checked with the Debian package database as of 2007-01-14 -->
117
118 <para><command>install -v ...</command> and the three following commands
119 fix the installation of <filename class="libraryfile">libhandle</filename>
120 libraries.</para>
121
122 </sect2>
123
124 <sect2 role="content">
125 <title>Contents</title>
126
127 <segmentedlist>
128 <segtitle>Installed Programs</segtitle>
129 <segtitle>Installed Libraries</segtitle>
130 <segtitle>Installed Directory</segtitle>
131
132 <seglistitem>
133 <seg>fsck.xfs, mkfs.xfs, xfs_admin, xfs_bmap, xfs_check, xfs_copy,
134 xfs_db, xfs_freeze, xfs_growfs, xfs_info, xfs_io, xfs_logprint,
135 xfs_mkfile, xfs_ncheck, xfs_quota, xfs_repair, and xfs_rtcp</seg>
136 <seg>libdisk.a, libhandle.{so,a}, libxcmd.a, libxfs.a, and libxlog.a </seg>
137 <seg>/usr/share/doc/xfsprogs</seg>
138 </seglistitem>
139 </segmentedlist>
140
141 <variablelist>
142 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
143 <?dbfo list-presentation="list"?>
144 <?dbhtml list-presentation="table"?>
145
146 <varlistentry id="fsck.xfs">
147 <term><command>fsck.xfs</command></term>
148 <listitem>
149 <para>simply exits with a zero status, since XFS
150 partitions are checked at mount time.</para>
151 <indexterm zone="xfs fsck.xfs">
152 <primary sortas="b-fsck.xfs">fsck.xfs</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 <varlistentry id="mkfs.xfs">
158 <term><command>mkfs.xfs</command></term>
159 <listitem>
160 <para>constructs an XFS file system.</para>
161 <indexterm zone="xfs mkfs.xfs">
162 <primary sortas="b-mkfs.xfs">mkfs.xfs</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="xfs_admin">
168 <term><command>xfs_admin</command></term>
169 <listitem>
170 <para>changes the parameters of an XFS file system.</para>
171 <indexterm zone="xfs xfs_admin">
172 <primary sortas="b-xfs_admin">xfs_admin</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="xfs_bmap">
178 <term><command>xfs_bmap</command></term>
179 <listitem>
180 <para>prints block mapping for an XFS file.</para>
181 <indexterm zone="xfs xfs_bmap">
182 <primary sortas="b-xfs_bmap">xfs_bmap</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="xfs_check">
188 <term><command>xfs_check</command></term>
189 <listitem>
190 <para>checks XFS file system consistency.</para>
191 <indexterm zone="xfs xfs_check">
192 <primary sortas="b-xfs_check">xfs_check</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="xfs_copy">
198 <term><command>xfs_copy</command></term>
199 <listitem>
200 <para>copies the contents of an XFS file system
201 to one or more targets in parallel.</para>
202 <indexterm zone="xfs xfs_copy">
203 <primary sortas="b-xfs_copy">xfs_copy</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="xfs_db">
209 <term><command>xfs_db</command></term>
210 <listitem>
211 <para>is used to debug an XFS file system.</para>
212 <indexterm zone="xfs xfs_db">
213 <primary sortas="b-xfs_db">xfs_db</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="xfs_freeze">
219 <term><command>xfs_freeze</command></term>
220 <listitem>
221 <para>suspends access to an XFS file system.</para>
222 <indexterm zone="xfs xfs_freeze">
223 <primary sortas="b-xfs_freeze">xfs_freeze</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="xfs_growfs">
229 <term><command>xfs_growfs</command></term>
230 <listitem>
231 <para>expands an XFS file system.</para>
232 <indexterm zone="xfs xfs_growfs">
233 <primary sortas="b-xfs_growfs">xfs_growfs</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="xfs_info">
239 <term><command>xfs_info</command></term>
240 <listitem>
241 <para>is equivalent to invoking <command>xfs_growfs</command>, but
242 specifying that no change to the file system is to be made.</para>
243 <indexterm zone="xfs xfs_info">
244 <primary sortas="b-xfs_info">xfs_info</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="xfs_io">
250 <term><command>xfs_io</command></term>
251 <listitem>
252 <para>is a debugging tool like <command>xfs_db</command>, but is
253 aimed at examining the regular file I/O path rather than the raw
254 XFS volume itself.</para>
255 <indexterm zone="xfs xfs_io">
256 <primary sortas="b-xfs_io">xfs_io</primary>
257 </indexterm>
258 </listitem>
259 </varlistentry>
260
261 <varlistentry id="xfs_logprint">
262 <term><command>xfs_logprint</command></term>
263 <listitem>
264 <para>prints the log of an XFS file system.</para>
265 <indexterm zone="xfs xfs_logprint">
266 <primary sortas="b-xfs_logprint">xfs_logprint</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 <varlistentry id="xfs_mkfile">
272 <term><command>xfs_mkfile</command></term>
273 <listitem>
274 <para>creates an XFS file, padded with zeroes by default.</para>
275 <indexterm zone="xfs xfs_mkfile">
276 <primary sortas="b-xfs_mkfile">xfs_mkfile</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry id="xfs_ncheck">
282 <term><command>xfs_ncheck</command></term>
283 <listitem>
284 <para>generates pathnames from inode numbers for an
285 XFS file system.</para>
286 <indexterm zone="xfs xfs_ncheck">
287 <primary sortas="b-xfs_ncheck">xfs_ncheck</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
291
292 <varlistentry id="xfs_quota">
293 <term><command>xfs_quota</command></term>
294 <listitem>
295 <para>is a utility for reporting and editing various
296 aspects of filesystem quota.</para>
297 <indexterm zone="xfs xfs_quota">
298 <primary sortas="b-xfs_quota">xfs_quota</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry id="xfs_repair">
304 <term><command>xfs_repair</command></term>
305 <listitem>
306 <para>repairs corrupt or damaged XFS file systems.</para>
307 <indexterm zone="xfs xfs_repair">
308 <primary sortas="b-xfs_repair">xfs_repair</primary>
309 </indexterm>
310 </listitem>
311 </varlistentry>
312
313 <varlistentry id="xfs_rtcp">
314 <term><command>xfs_rtcp</command></term>
315 <listitem>
316 <para>copies a file to the real-time partition on an
317 XFS file system.</para>
318 <indexterm zone="xfs xfs_rtcp">
319 <primary sortas="b-xfs_rtcp">xfs_rtcp</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324 <varlistentry id="libhandle">
325 <term><filename class='libraryfile'>libhandle.so</filename></term>
326 <listitem>
327 <para>contains XFS-specific functions that provide a way to perform
328 certain filesystem operations without using a file descriptor to
329 access filesystem objects.</para>
330 <indexterm zone="xfs libhandle">
331 <primary sortas="c-libhandle">libhandle.so</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
336 <!-- FIXME: other libraries are undocumented -->
337
338 </variablelist>
339
340 </sect2>
341
342</sect1>
Note: See TracBrowser for help on using the repository browser.