Index: postlfs/filesystems/filesystems.xml
===================================================================
--- postlfs/filesystems/filesystems.xml	(revision 5dfe9becd4af58c705523c276c65f01e96e065af)
+++ postlfs/filesystems/filesystems.xml	(revision 47a3d8ff83cf03a7657e806bab5eac5ca8131a21)
@@ -7,5 +7,5 @@
 &postlfs-filesystems-ext3;
 &reiser;
-&postlfs-filesystems-xfs;
+&xfs;
 
 </chapter>
Index: postlfs/filesystems/xfs.xml
===================================================================
--- postlfs/filesystems/xfs.xml	(revision 5dfe9becd4af58c705523c276c65f01e96e065af)
+++ postlfs/filesystems/xfs.xml	(revision 47a3d8ff83cf03a7657e806bab5eac5ca8131a21)
@@ -1,7 +1,11 @@
-<sect1 id="postlfs-filesystems-xfs">
-<?dbhtml filename="xfs.html" dir="postlfs"?>
-<title>XFS</title>
-
-<para>TO BE DONE</para>
+<sect1 id="xfs" xreflabel="xfs-&xfsprogs-version;">
+<?dbhtml filename="xfsfs.html" dir="postlfs"?>
+<title>xfsprogs-&xfsprogs-version;</title>
+&xfs-patch;
+&xfs-patch-inst;
+&xfs-intro;
+&xfs-inst;
+&xfs-desc;
 
 </sect1>
+
Index: postlfs/filesystems/xfs/xfs-desc.xml
===================================================================
--- postlfs/filesystems/xfs/xfs-desc.xml	(revision 47a3d8ff83cf03a7657e806bab5eac5ca8131a21)
+++ postlfs/filesystems/xfs/xfs-desc.xml	(revision 47a3d8ff83cf03a7657e806bab5eac5ca8131a21)
@@ -0,0 +1,73 @@
+<sect2>
+<title>Contents</title>
+
+<para>xfsprogs contains <userinput>xfs_growfs</userinput>,
+<userinput>xfs_admin</userinput>,
+<userinput>xfs_freeze</userinput>,
+<userinput>xfs_mkfile</userinput>,
+<userinput>xfs_check</userinput>,
+<userinput>xfs_bmap</userinput>,
+<userinput>xfs_rtcp</userinput>,
+<userinput>xfs_repair</userinput>,
+<userinput>xfs_db</userinput>,
+<userinput>xfs_logprint</userinput>,
+<userinput>xfs_ncheck</userinput>,
+<userinput>mkfs.xfs</userinput>  and 
+<userinput>fsck.xfs</userinput>.</para>
+
+</sect2>
+
+<sect2><title>Description</title>
+
+<sect3><title>xfsgrowfs</title>
+<para>xfsgrowfs expands an XFS filesystem.</para></sect3>
+
+<sect3><title>xfs_admin</title>
+<para>xfs_admin changes the parameters of an XFS
+filesystem.</para></sect3>
+
+
+<sect3><title>xfs_freeze</title>
+<para>xfs_freeze suspends access to an XFS filesystem.</para></sect3>
+
+
+<sect3><title>xfs_mkfile</title>
+<para>xfs_mkfile creates an XFS file, padded with zeroes by
+default.</para></sect3>
+
+
+<sect3><title>xfs_check</title>
+<para>xfs_check checks XFS filesystem consistency.</para></sect3>
+
+<sect3><title>xfs_bmap</title>
+<para>xfs_bmap prints block mapping for an XFS file.</para></sect3>
+
+<sect3><title>xfs_rtcp</title>
+<para>xfs_rtcp copies a file to the realtime partition on an
+XFS filesystem.</para></sect3>
+
+
+<sect3><title>xfs_repair</title>
+<para>xfs_repair repairs corrupt or damaged XFS
+filesystems.</para></sect3>
+
+
+<sect3><title>xfs_db</title>
+<para>xfs_db is used to debug an XFS filesystem.</para></sect3>
+
+<sect3><title>xfs_logprint</title>
+<para>xfs_logprint prints the log of an XFS filesystem.</para></sect3>
+
+<sect3><title>xfs_ncheck</title>
+<para>xfs_ncheck generates pathnames from inode numbers for and XFS
+filesystem.</para></sect3>
+
+<sect3><title>mkfs.xfs</title>
+<para>mkfs.xfs constructs an XFS filesystem.</para></sect3>
+
+<sect3><title>fsck.xfs</title>
+<para>fsck.xfs simply exits with a zero status, since XFS partitions
+are checked at mount time.</para></sect3>
+
+</sect2>
+
Index: postlfs/filesystems/xfs/xfs-inst.xml
===================================================================
--- postlfs/filesystems/xfs/xfs-inst.xml	(revision 47a3d8ff83cf03a7657e806bab5eac5ca8131a21)
+++ postlfs/filesystems/xfs/xfs-inst.xml	(revision 47a3d8ff83cf03a7657e806bab5eac5ca8131a21)
@@ -0,0 +1,11 @@
+<sect2>
+<title>Installation of xfsprogs</title>
+
+<para>Install xfsprogs by running the following commands:</para>
+
+<para><screen><userinput>./configure &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
+
+</sect2>
+
Index: postlfs/filesystems/xfs/xfs-intro.xml
===================================================================
--- postlfs/filesystems/xfs/xfs-intro.xml	(revision 47a3d8ff83cf03a7657e806bab5eac5ca8131a21)
+++ postlfs/filesystems/xfs/xfs-intro.xml	(revision 47a3d8ff83cf03a7657e806bab5eac5ca8131a21)
@@ -0,0 +1,13 @@
+<sect2>
+<title>Introduction to XFS</title>
+
+<screen>Download location (FTP):        <ulink url="&xfsprogs-download-ftp;"/>
+Version used:                   &xfsprogs-version;
+Package size:                   &xfsprogs-size;
+Estimated Disk space required:  &xfsprogs-buildsize;</screen>
+
+<para>The xfsprogs package contains adminstration and debugging tools
+for the XFS filesystem.</para>
+
+</sect2>
+
Index: postlfs/filesystems/xfs/xfs-patch-inst.xml
===================================================================
--- postlfs/filesystems/xfs/xfs-patch-inst.xml	(revision 47a3d8ff83cf03a7657e806bab5eac5ca8131a21)
+++ postlfs/filesystems/xfs/xfs-patch-inst.xml	(revision 47a3d8ff83cf03a7657e806bab5eac5ca8131a21)
@@ -0,0 +1,18 @@
+<sect2>
+<title>Patching Linux-2.4.19 for XFS</title>
+
+<para>Build an XFS-enabled Linux 2.4.19 kernel with the following commands:</para>
+
+<para><screen><userinput>cd /usr/src/linux &amp;&amp;
+make mrproper &amp;&amp;
+bzcat ../xfs-2.4.19-all-i386.bz2 | patch -Np1 &amp;&amp;
+make menuconfig &amp;&amp;
+make dep &amp;&amp;
+make bzImage &amp;&amp;
+make modules &amp;&amp;
+make modules_install &amp;&amp;
+cp arch/i386/boot/bzImage /boot/vmlinuz-xfs &amp;&amp;
+cp System.map /boot/System.map-xfs</userinput></screen></para>
+
+</sect2>
+
Index: postlfs/filesystems/xfs/xfs-patch.xml
===================================================================
--- postlfs/filesystems/xfs/xfs-patch.xml	(revision 47a3d8ff83cf03a7657e806bab5eac5ca8131a21)
+++ postlfs/filesystems/xfs/xfs-patch.xml	(revision 47a3d8ff83cf03a7657e806bab5eac5ca8131a21)
@@ -0,0 +1,9 @@
+<sect2>
+<title>XFS kernel patch</title>
+<screen>Download location (FTP):        <ulink url="&xfspatch-download-ftp;"/>
+Version used:                   &xfspatch-version;
+Package size:                   &xfspatch-size;
+Estimated Disk space required:  &xfspatch-buildsize;</screen>
+
+<para>The XFS kernel patch must be applied to use XFS filesystems</para>
+</sect2>
Index: postlfs/filesystems/xfs/xfs.ent
===================================================================
--- postlfs/filesystems/xfs/xfs.ent	(revision 47a3d8ff83cf03a7657e806bab5eac5ca8131a21)
+++ postlfs/filesystems/xfs/xfs.ent	(revision 47a3d8ff83cf03a7657e806bab5eac5ca8131a21)
@@ -0,0 +1,16 @@
+<!ENTITY xfs SYSTEM "../xfs.xml">
+<!ENTITY xfs-patch SYSTEM "xfs-patch.xml">
+<!ENTITY xfs-patch-inst SYSTEM "xfs-patch-inst.xml">
+<!ENTITY xfs-intro SYSTEM "xfs-intro.xml">
+<!ENTITY xfs-inst SYSTEM "xfs-inst.xml">
+<!ENTITY xfs-exp SYSTEM "xfs-exp.xml">
+<!ENTITY xfs-desc SYSTEM "xfs-desc.xml">
+<!ENTITY xfsprogs-buildsize "31 MB">
+<!ENTITY xfsprogs-size "740 KB">
+<!ENTITY xfsprogs-version "2.0.3">
+<!ENTITY xfspatch-buildsize "Varies with options">
+<!ENTITY xfspatch-size "850 KB">
+<!ENTITY xfspatch-version "2.4.19">
+<!ENTITY xfs-download-http "">
+<!ENTITY xfsprogs-download-ftp"ftp://oss.sgi.com/projects/xfs/download/Release-1.1/cmd_tars/xfsprogs-2.0.3.src.tar.gz">
+<!ENTITY xfspatch-download-ftp"ftp://oss.sgi.com/projects/xfs/download/patches/2.4.19/xfs-2.4.19-all-i386.bz2">
Index: postlfs/postlfs.ent
===================================================================
--- postlfs/postlfs.ent	(revision 5dfe9becd4af58c705523c276c65f01e96e065af)
+++ postlfs/postlfs.ent	(revision 47a3d8ff83cf03a7657e806bab5eac5ca8131a21)
@@ -28,5 +28,6 @@
 <!ENTITY % reiserfs SYSTEM "filesystems/reiser/reiser.ent">
 %reiserfs;
-<!ENTITY postlfs-filesystems-xfs SYSTEM "filesystems/xfs.xml">
+<!ENTITY % xfs SYSTEM "filesystems/xfs/xfs.ent">
+%xfs;
 
 <!-- Editors -->
