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 "65fbf692f348b57f21edd4813733d9ae">
|
---|
10 | <!ENTITY xfsprogs-size "833 KB">
|
---|
11 | <!ENTITY xfsprogs-buildsize "25.2 MB">
|
---|
12 | <!ENTITY xfsprogs-time "0.59 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 | </sect2>
|
---|
62 |
|
---|
63 | <sect2 role="installation">
|
---|
64 | <title>Installation of XFS</title>
|
---|
65 |
|
---|
66 | <note>
|
---|
67 | <para>If you did not install the
|
---|
68 | <ulink url="&lfs-root;/chapter06/e2fsprogs.html">E2fsprogs</ulink>
|
---|
69 | package in LFS, you must install it, or
|
---|
70 | <ulink url="http://pecl.php.net/get/uuid-1.0.tgz">UUID</ulink> before
|
---|
71 | proceeding with the installation of <application>XFS</application>.</para>
|
---|
72 | </note>
|
---|
73 |
|
---|
74 | <para>Install <application>XFS</application> by running the following
|
---|
75 | commands:</para>
|
---|
76 |
|
---|
77 | <screen><userinput>sed -i 's/autoconf//' Makefile &&
|
---|
78 | make</userinput></screen>
|
---|
79 |
|
---|
80 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
81 |
|
---|
82 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
83 |
|
---|
84 | </sect2>
|
---|
85 |
|
---|
86 | <sect2 role="commands">
|
---|
87 | <title>Command Explanations</title>
|
---|
88 |
|
---|
89 | <para><command>sed -i 's/autoconf//' Makefile</command>: This command
|
---|
90 | disables running <command>autoconf</command> because it is
|
---|
91 | unnecessary.</para>
|
---|
92 |
|
---|
93 | </sect2>
|
---|
94 |
|
---|
95 | <sect2 role="content">
|
---|
96 | <title>Contents</title>
|
---|
97 |
|
---|
98 | <segmentedlist>
|
---|
99 | <segtitle>Installed Programs</segtitle>
|
---|
100 | <segtitle>Installed Library</segtitle>
|
---|
101 | <segtitle>Installed Directory</segtitle>
|
---|
102 |
|
---|
103 | <seglistitem>
|
---|
104 | <seg>fsck.xfs, mkfs.xfs, xfs_admin, xfs_bmap, xfs_check, xfs_copy,
|
---|
105 | xfs_db, xfs_freeze, xfs_growfs, xfs_info, xfs_io, xfs_logprint,
|
---|
106 | xfs_mkfile, xfs_ncheck, xfs_repair, and xfs_rtcp</seg>
|
---|
107 | <seg>libhandle.so</seg>
|
---|
108 | <seg>/usr/share/doc/xfsprogs</seg>
|
---|
109 | </seglistitem>
|
---|
110 | </segmentedlist>
|
---|
111 |
|
---|
112 | <variablelist>
|
---|
113 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
114 | <?dbfo list-presentation="list"?>
|
---|
115 | <?dbhtml list-presentation="table"?>
|
---|
116 |
|
---|
117 | <varlistentry id="fsck.xfs">
|
---|
118 | <term><command>fsck.xfs</command></term>
|
---|
119 | <listitem>
|
---|
120 | <para>simply exits with a zero status, since XFS
|
---|
121 | partitions are checked at mount time.</para>
|
---|
122 | <indexterm zone="xfs fsck.xfs">
|
---|
123 | <primary sortas="b-fsck.xfs">fsck.xfs</primary>
|
---|
124 | </indexterm>
|
---|
125 | </listitem>
|
---|
126 | </varlistentry>
|
---|
127 |
|
---|
128 | <varlistentry id="mkfs.xfs">
|
---|
129 | <term><command>mkfs.xfs</command></term>
|
---|
130 | <listitem>
|
---|
131 | <para>constructs an XFS file system.</para>
|
---|
132 | <indexterm zone="xfs mkfs.xfs">
|
---|
133 | <primary sortas="b-mkfs.xfs">mkfs.xfs</primary>
|
---|
134 | </indexterm>
|
---|
135 | </listitem>
|
---|
136 | </varlistentry>
|
---|
137 |
|
---|
138 | <varlistentry id="xfs_admin">
|
---|
139 | <term><command>xfs_admin</command></term>
|
---|
140 | <listitem>
|
---|
141 | <para>changes the parameters of an XFS file system.</para>
|
---|
142 | <indexterm zone="xfs xfs_admin">
|
---|
143 | <primary sortas="b-xfs_admin">xfs_admin</primary>
|
---|
144 | </indexterm>
|
---|
145 | </listitem>
|
---|
146 | </varlistentry>
|
---|
147 |
|
---|
148 | <varlistentry id="xfs_bmap">
|
---|
149 | <term><command>xfs_bmap</command></term>
|
---|
150 | <listitem>
|
---|
151 | <para>prints block mapping for an XFS file.</para>
|
---|
152 | <indexterm zone="xfs xfs_bmap">
|
---|
153 | <primary sortas="b-xfs_bmap">xfs_bmap</primary>
|
---|
154 | </indexterm>
|
---|
155 | </listitem>
|
---|
156 | </varlistentry>
|
---|
157 |
|
---|
158 | <varlistentry id="xfs_check">
|
---|
159 | <term><command>xfs_check</command></term>
|
---|
160 | <listitem>
|
---|
161 | <para>checks XFS file system consistency.</para>
|
---|
162 | <indexterm zone="xfs xfs_check">
|
---|
163 | <primary sortas="b-xfs_check">xfs_check</primary>
|
---|
164 | </indexterm>
|
---|
165 | </listitem>
|
---|
166 | </varlistentry>
|
---|
167 |
|
---|
168 | <varlistentry id="xfs_copy">
|
---|
169 | <term><command>xfs_copy</command></term>
|
---|
170 | <listitem>
|
---|
171 | <para>copies the contents of an XFS file system
|
---|
172 | to one or more targets in parallel.</para>
|
---|
173 | <indexterm zone="xfs xfs_copy">
|
---|
174 | <primary sortas="b-xfs_copy">xfs_copy</primary>
|
---|
175 | </indexterm>
|
---|
176 | </listitem>
|
---|
177 | </varlistentry>
|
---|
178 |
|
---|
179 | <varlistentry id="xfs_db">
|
---|
180 | <term><command>xfs_db</command></term>
|
---|
181 | <listitem>
|
---|
182 | <para>is used to debug an XFS file system.</para>
|
---|
183 | <indexterm zone="xfs xfs_db">
|
---|
184 | <primary sortas="b-xfs_db">xfs_db</primary>
|
---|
185 | </indexterm>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 |
|
---|
189 | <varlistentry id="xfs_freeze">
|
---|
190 | <term><command>xfs_freeze</command></term>
|
---|
191 | <listitem>
|
---|
192 | <para>suspends access to an XFS file system.</para>
|
---|
193 | <indexterm zone="xfs xfs_freeze">
|
---|
194 | <primary sortas="b-xfs_freeze">xfs_freeze</primary>
|
---|
195 | </indexterm>
|
---|
196 | </listitem>
|
---|
197 | </varlistentry>
|
---|
198 |
|
---|
199 | <varlistentry id="xfs_growfs">
|
---|
200 | <term><command>xfs_growfs</command></term>
|
---|
201 | <listitem>
|
---|
202 | <para>expands an XFS file system.</para>
|
---|
203 | <indexterm zone="xfs xfs_growfs">
|
---|
204 | <primary sortas="b-xfs_growfs">xfs_growfs</primary>
|
---|
205 | </indexterm>
|
---|
206 | </listitem>
|
---|
207 | </varlistentry>
|
---|
208 |
|
---|
209 | <varlistentry id="xfs_info">
|
---|
210 | <term><command>xfs_info</command></term>
|
---|
211 | <listitem>
|
---|
212 | <para>is equivalent to invoking <command>xfs_growfs</command>, but
|
---|
213 | specifying that no change to the file system is to be made.</para>
|
---|
214 | <indexterm zone="xfs xfs_info">
|
---|
215 | <primary sortas="b-xfs_info">xfs_info</primary>
|
---|
216 | </indexterm>
|
---|
217 | </listitem>
|
---|
218 | </varlistentry>
|
---|
219 |
|
---|
220 | <varlistentry id="xfs_io">
|
---|
221 | <term><command>xfs_io</command></term>
|
---|
222 | <listitem>
|
---|
223 | <para>is a debugging tool like <command>xfs_db</command>, but is
|
---|
224 | aimed at examining the regular file I/O path rather than the raw
|
---|
225 | XFS volume itself.</para>
|
---|
226 | <indexterm zone="xfs xfs_io">
|
---|
227 | <primary sortas="b-xfs_io">xfs_io</primary>
|
---|
228 | </indexterm>
|
---|
229 | </listitem>
|
---|
230 | </varlistentry>
|
---|
231 |
|
---|
232 | <varlistentry id="xfs_logprint">
|
---|
233 | <term><command>xfs_logprint</command></term>
|
---|
234 | <listitem>
|
---|
235 | <para>prints the log of an XFS file system.</para>
|
---|
236 | <indexterm zone="xfs xfs_logprint">
|
---|
237 | <primary sortas="b-xfs_logprint">xfs_logprint</primary>
|
---|
238 | </indexterm>
|
---|
239 | </listitem>
|
---|
240 | </varlistentry>
|
---|
241 |
|
---|
242 | <varlistentry id="xfs_mkfile">
|
---|
243 | <term><command>xfs_mkfile</command></term>
|
---|
244 | <listitem>
|
---|
245 | <para>creates an XFS file, padded with zeroes by default.</para>
|
---|
246 | <indexterm zone="xfs xfs_mkfile">
|
---|
247 | <primary sortas="b-xfs_mkfile">xfs_mkfile</primary>
|
---|
248 | </indexterm>
|
---|
249 | </listitem>
|
---|
250 | </varlistentry>
|
---|
251 |
|
---|
252 | <varlistentry id="xfs_ncheck">
|
---|
253 | <term><command>xfs_ncheck</command></term>
|
---|
254 | <listitem>
|
---|
255 | <para>generates pathnames from inode numbers for an
|
---|
256 | XFS file system.</para>
|
---|
257 | <indexterm zone="xfs xfs_ncheck">
|
---|
258 | <primary sortas="b-xfs_ncheck">xfs_ncheck</primary>
|
---|
259 | </indexterm>
|
---|
260 | </listitem>
|
---|
261 | </varlistentry>
|
---|
262 |
|
---|
263 | <varlistentry id="xfs_repair">
|
---|
264 | <term><command>xfs_repair</command></term>
|
---|
265 | <listitem>
|
---|
266 | <para>repairs corrupt or damaged XFS file systems.</para>
|
---|
267 | <indexterm zone="xfs xfs_repair">
|
---|
268 | <primary sortas="b-xfs_repair">xfs_repair</primary>
|
---|
269 | </indexterm>
|
---|
270 | </listitem>
|
---|
271 | </varlistentry>
|
---|
272 |
|
---|
273 | <varlistentry id="xfs_rtcp">
|
---|
274 | <term><command>xfs_rtcp</command></term>
|
---|
275 | <listitem>
|
---|
276 | <para>copies a file to the real-time partition on an
|
---|
277 | XFS file system.</para>
|
---|
278 | <indexterm zone="xfs xfs_rtcp">
|
---|
279 | <primary sortas="b-xfs_rtcp">xfs_rtcp</primary>
|
---|
280 | </indexterm>
|
---|
281 | </listitem>
|
---|
282 | </varlistentry>
|
---|
283 |
|
---|
284 | <varlistentry id="libhandle">
|
---|
285 | <term><filename class='libraryfile'>libhandle.so</filename></term>
|
---|
286 | <listitem>
|
---|
287 | <para>contains functions to map filesystem handles to a
|
---|
288 | corresponding open file descriptor for that filesystem.</para>
|
---|
289 | <indexterm zone="xfs libhandle">
|
---|
290 | <primary sortas="c-libhandle">libhandle.so</primary>
|
---|
291 | </indexterm>
|
---|
292 | </listitem>
|
---|
293 | </varlistentry>
|
---|
294 |
|
---|
295 | </variablelist>
|
---|
296 |
|
---|
297 | </sect2>
|
---|
298 |
|
---|
299 | </sect1>
|
---|