[4122007] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[b8fa16e] | 6 |
|
---|
| 7 | <!ENTITY xfsprogs-download-http "http://mirrors.sunsite.dk/xfs/download/cmd_tars/xfsprogs-&xfsprogs-version;.src.tar.gz">
|
---|
[dcee0f2f] | 8 | <!ENTITY xfsprogs-download-ftp "ftp://oss.sgi.com/projects/xfs/download/cmd_tars/xfsprogs-&xfsprogs-version;.src.tar.gz">
|
---|
[0dfa6f4f] | 9 | <!ENTITY xfsprogs-md5sum "65fbf692f348b57f21edd4813733d9ae">
|
---|
[dcee0f2f] | 10 | <!ENTITY xfsprogs-size "833 KB">
|
---|
| 11 | <!ENTITY xfsprogs-buildsize "25.2 MB">
|
---|
| 12 | <!ENTITY xfsprogs-time "0.59 SBU">
|
---|
[4122007] | 13 | ]>
|
---|
| 14 |
|
---|
[79f87f94] | 15 | <sect1 id="xfs" xreflabel="XFS-&xfsprogs-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[bae6e15] | 20 | <?dbhtml filename="xfsfs.html"?>
|
---|
[79f87f94] | 21 | <title>XFS-&xfsprogs-version;</title>
|
---|
[dcee0f2f] | 22 | <indexterm zone="xfs">
|
---|
| 23 | <primary sortas="a-XFS">XFS</primary>
|
---|
| 24 | </indexterm>
|
---|
[e2f00829] | 25 |
|
---|
[4122007] | 26 | <sect2>
|
---|
[dcee0f2f] | 27 | <title>Introduction to
|
---|
| 28 | <application><acronym>XFS</acronym></application></title>
|
---|
[4122007] | 29 |
|
---|
| 30 | <para>The <application>XFS</application> package contains administration
|
---|
| 31 | and debugging tools for the <acronym>XFS</acronym> file system.</para>
|
---|
| 32 |
|
---|
| 33 | <sect3><title>Package information</title>
|
---|
| 34 | <itemizedlist spacing='compact'>
|
---|
| 35 | <listitem><para>Download (HTTP): <ulink
|
---|
| 36 | url="&xfsprogs-download-http;"/></para></listitem>
|
---|
| 37 | <listitem><para>Download (FTP): <ulink
|
---|
| 38 | url="&xfsprogs-download-ftp;"/></para></listitem>
|
---|
[0dfa6f4f] | 39 | <listitem><para>Download MD5 sum: &xfsprogs-md5sum;</para></listitem>
|
---|
[4122007] | 40 | <listitem><para>Download size: &xfsprogs-size;</para></listitem>
|
---|
[518538f] | 41 | <listitem><para>Estimated disk space required:
|
---|
[4122007] | 42 | &xfsprogs-buildsize;</para></listitem>
|
---|
| 43 | <listitem><para>Estimated build time:
|
---|
| 44 | &xfsprogs-time;</para></listitem></itemizedlist>
|
---|
| 45 | </sect3>
|
---|
| 46 |
|
---|
| 47 | </sect2>
|
---|
| 48 |
|
---|
| 49 | <sect2>
|
---|
| 50 | <title>Installation of <application>XFS</application></title>
|
---|
| 51 |
|
---|
[573088b9] | 52 | <note><para>If you did not install the
|
---|
| 53 | <ulink url="&lfs-root;/chapter06/e2fsprogs.html">E2fsprogs</ulink> package in
|
---|
| 54 | <acronym>LFS</acronym>, you must install it, or
|
---|
| 55 | <ulink url="http://pecl.php.net/get/uuid-1.0.tgz">UUID</ulink> before
|
---|
| 56 | proceeding with the installation of
|
---|
| 57 | <application>XFS</application>.</para></note>
|
---|
| 58 |
|
---|
[4122007] | 59 | <para>Install <application>XFS</application> by running the following
|
---|
| 60 | commands:</para>
|
---|
| 61 |
|
---|
| 62 | <screen><userinput><command>sed -i 's/autoconf//' Makefile &&
|
---|
[dcee0f2f] | 63 | make</command></userinput></screen>
|
---|
[4122007] | 64 |
|
---|
[dcee0f2f] | 65 | <para>Now, as the root user:</para>
|
---|
[4122007] | 66 |
|
---|
[dcee0f2f] | 67 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
[4122007] | 68 |
|
---|
| 69 | </sect2>
|
---|
| 70 |
|
---|
[dcee0f2f] | 71 | <sect2>
|
---|
| 72 | <title>Contents</title>
|
---|
[4122007] | 73 |
|
---|
[dcee0f2f] | 74 | <segmentedlist>
|
---|
| 75 | <segtitle>Installed Programs</segtitle>
|
---|
| 76 | <segtitle>Installed Library</segtitle>
|
---|
| 77 | <segtitle>Installed Directory</segtitle>
|
---|
| 78 |
|
---|
| 79 | <seglistitem>
|
---|
| 80 | <seg>fsck.xfs, mkfs.xfs, xfs_admin, xfs_bmap, xfs_check, xfs_copy, xfs_db,
|
---|
| 81 | xfs_freeze, xfs_growfs, xfs_info, xfs_io, xfs_logprint, xfs_mkfile,
|
---|
| 82 | xfs_ncheck, xfs_repair and xfs_rtcp</seg>
|
---|
| 83 | <seg>libhandle.so</seg>
|
---|
| 84 | <seg>/usr/share/doc/xfsprogs</seg>
|
---|
| 85 | </seglistitem>
|
---|
| 86 | </segmentedlist>
|
---|
| 87 |
|
---|
| 88 | <variablelist>
|
---|
| 89 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 90 | <?dbfo list-presentation="list"?>
|
---|
| 91 |
|
---|
| 92 | <varlistentry id="fsck.xfs">
|
---|
| 93 | <term><command>fsck.xfs</command></term>
|
---|
| 94 | <listitem><para>simply exits with a zero status, since <acronym>XFS</acronym>
|
---|
| 95 | partitions are checked at mount time.</para>
|
---|
| 96 | <indexterm zone="xfs fsck.xfs">
|
---|
| 97 | <primary sortas="b-fsck.xfs">fsck.xfs</primary>
|
---|
| 98 | </indexterm></listitem>
|
---|
| 99 | </varlistentry>
|
---|
| 100 |
|
---|
| 101 | <varlistentry id="mkfs.xfs">
|
---|
| 102 | <term><command>mkfs.xfs</command></term>
|
---|
| 103 | <listitem><para>constructs an <acronym>XFS</acronym> file system.</para>
|
---|
| 104 | <indexterm zone="xfs mkfs.xfs">
|
---|
| 105 | <primary sortas="b-mkfs.xfs">mkfs.xfs</primary>
|
---|
| 106 | </indexterm></listitem>
|
---|
| 107 | </varlistentry>
|
---|
| 108 |
|
---|
| 109 | <varlistentry id="xfs_admin">
|
---|
| 110 | <term><command>xfs_admin</command></term>
|
---|
| 111 | <listitem><para>changes the parameters of an <acronym>XFS</acronym> file
|
---|
| 112 | system.</para>
|
---|
| 113 | <indexterm zone="xfs xfs_admin">
|
---|
| 114 | <primary sortas="b-xfs_admin">xfs_admin</primary>
|
---|
| 115 | </indexterm></listitem>
|
---|
| 116 | </varlistentry>
|
---|
| 117 |
|
---|
| 118 | <varlistentry id="xfs_bmap">
|
---|
| 119 | <term><command>xfs_bmap</command></term>
|
---|
| 120 | <listitem><para>prints block mapping for an <acronym>XFS</acronym> file.</para>
|
---|
| 121 | <indexterm zone="xfs xfs_bmap">
|
---|
| 122 | <primary sortas="b-xfs_bmap">xfs_bmap</primary>
|
---|
| 123 | </indexterm></listitem>
|
---|
| 124 | </varlistentry>
|
---|
| 125 |
|
---|
| 126 | <varlistentry id="xfs_check">
|
---|
| 127 | <term><command>xfs_check</command></term>
|
---|
| 128 | <listitem><para>checks <acronym>XFS</acronym> file system consistency.</para>
|
---|
| 129 | <indexterm zone="xfs xfs_check">
|
---|
| 130 | <primary sortas="b-xfs_check">xfs_check</primary>
|
---|
| 131 | </indexterm></listitem>
|
---|
| 132 | </varlistentry>
|
---|
| 133 |
|
---|
| 134 | <varlistentry id="xfs_copy">
|
---|
| 135 | <term><command>xfs_copy</command></term>
|
---|
| 136 | <listitem><para>copies the contents of an <acronym>XFS</acronym> file system
|
---|
| 137 | to one or more targets in parallel.</para>
|
---|
| 138 | <indexterm zone="xfs xfs_copy">
|
---|
| 139 | <primary sortas="b-xfs_copy">xfs_copy</primary>
|
---|
| 140 | </indexterm></listitem>
|
---|
| 141 | </varlistentry>
|
---|
| 142 |
|
---|
| 143 | <varlistentry id="xfs_db">
|
---|
| 144 | <term><command>xfs_db</command></term>
|
---|
| 145 | <listitem><para>is used to debug an <acronym>XFS</acronym> file system.</para>
|
---|
| 146 | <indexterm zone="xfs xfs_db">
|
---|
| 147 | <primary sortas="b-xfs_db">xfs_db</primary>
|
---|
| 148 | </indexterm></listitem>
|
---|
| 149 | </varlistentry>
|
---|
| 150 |
|
---|
| 151 | <varlistentry id="xfs_freeze">
|
---|
| 152 | <term><command>xfs_freeze</command></term>
|
---|
| 153 | <listitem><para>suspends access to an <acronym>XFS</acronym> file
|
---|
| 154 | system.</para>
|
---|
| 155 | <indexterm zone="xfs xfs_freeze">
|
---|
| 156 | <primary sortas="b-xfs_freeze">xfs_freeze</primary>
|
---|
| 157 | </indexterm></listitem>
|
---|
| 158 | </varlistentry>
|
---|
| 159 |
|
---|
| 160 | <varlistentry id="xfs_growfs">
|
---|
| 161 | <term><command>xfs_growfs</command></term>
|
---|
| 162 | <listitem><para>expands an <acronym>XFS</acronym> file system.</para>
|
---|
| 163 | <indexterm zone="xfs xfs_growfs">
|
---|
| 164 | <primary sortas="b-xfs_growfs">xfs_growfs</primary>
|
---|
| 165 | </indexterm></listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="xfs_info">
|
---|
| 169 | <term><command>xfs_info</command></term>
|
---|
| 170 | <listitem><para>is equivalent to invoking <command>xfs_growfs</command>, but
|
---|
| 171 | specifying that no change to the file system is to be made.</para>
|
---|
| 172 | <indexterm zone="xfs xfs_info">
|
---|
| 173 | <primary sortas="b-xfs_info">xfs_info</primary>
|
---|
| 174 | </indexterm></listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
| 177 | <varlistentry id="xfs_io">
|
---|
| 178 | <term><command>xfs_io</command></term>
|
---|
| 179 | <listitem><para>is a debugging tool like <command>xfs_db</command>, but is
|
---|
| 180 | aimed at examining the regular file I/O path rather than the raw
|
---|
| 181 | <acronym>XFS</acronym> volume itself.</para>
|
---|
| 182 | <indexterm zone="xfs xfs_io">
|
---|
| 183 | <primary sortas="b-xfs_io">xfs_io</primary>
|
---|
| 184 | </indexterm></listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
| 187 | <varlistentry id="xfs_logprint">
|
---|
| 188 | <term><command>xfs_logprint</command></term>
|
---|
| 189 | <listitem><para>prints the log of an <acronym>XFS</acronym> file system.</para>
|
---|
| 190 | <indexterm zone="xfs xfs_logprint">
|
---|
| 191 | <primary sortas="b-xfs_logprint">xfs_logprint</primary>
|
---|
| 192 | </indexterm></listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
| 195 | <varlistentry id="xfs_mkfile">
|
---|
| 196 | <term><command>xfs_mkfile</command></term>
|
---|
| 197 | <listitem><para>creates an <acronym>XFS</acronym> file, padded with zeroes by
|
---|
| 198 | default.</para>
|
---|
| 199 | <indexterm zone="xfs xfs_mkfile">
|
---|
| 200 | <primary sortas="b-xfs_mkfile">xfs_mkfile</primary>
|
---|
| 201 | </indexterm></listitem>
|
---|
| 202 | </varlistentry>
|
---|
| 203 |
|
---|
| 204 | <varlistentry id="xfs_ncheck">
|
---|
| 205 | <term><command>xfs_ncheck</command></term>
|
---|
| 206 | <listitem><para>generates pathnames from inode numbers for an
|
---|
| 207 | <acronym>XFS</acronym> file system.</para>
|
---|
| 208 | <indexterm zone="xfs xfs_ncheck">
|
---|
| 209 | <primary sortas="b-xfs_ncheck">xfs_ncheck</primary>
|
---|
| 210 | </indexterm></listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
| 213 | <varlistentry id="xfs_repair">
|
---|
| 214 | <term><command>xfs_repair</command></term>
|
---|
| 215 | <listitem><para>repairs corrupt or damaged <acronym>XFS</acronym>file
|
---|
| 216 | systems.</para>
|
---|
| 217 | <indexterm zone="xfs xfs_repair">
|
---|
| 218 | <primary sortas="b-xfs_repair">xfs_repair</primary>
|
---|
| 219 | </indexterm></listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="xfs_rtcp">
|
---|
| 223 | <term><command>xfs_rtcp</command></term>
|
---|
| 224 | <listitem><para>copies a file to the real-time partition on an
|
---|
| 225 | <acronym>XFS</acronym> file system.</para>
|
---|
| 226 | <indexterm zone="xfs xfs_rtcp">
|
---|
| 227 | <primary sortas="b-xfs_rtcp">xfs_rtcp</primary>
|
---|
| 228 | </indexterm></listitem>
|
---|
| 229 | </varlistentry>
|
---|
| 230 |
|
---|
| 231 | <varlistentry id="libhandle">
|
---|
| 232 | <term><filename class='libraryfile'>libhandle.so</filename></term>
|
---|
| 233 | <listitem><para>contains functions to map filesystem handles to a
|
---|
| 234 | corresponding open file descriptor for that filesystem.</para>
|
---|
| 235 | <indexterm zone="xfs libhandle">
|
---|
| 236 | <primary sortas="c-libhandle">libhandle.so</primary>
|
---|
| 237 | </indexterm></listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 | </variablelist>
|
---|
[4122007] | 240 |
|
---|
| 241 | </sect2>
|
---|
[f45b1953] | 242 |
|
---|
| 243 | </sect1>
|
---|