The XFS package contains administration and debugging tools for the XFS file system.
Download (HTTP): http://mirrors.sunsite.dk/xfs/download/cmd_tars/xfsprogs_2.8.18-1.tar.gz
Download (FTP): ftp://oss.sgi.com/projects/xfs/download/cmd_tars/xfsprogs_2.8.18-1.tar.gz
Download MD5 sum: 6ce9e198cc79ebec6f6fb1f34ffa7709
Download size: 956 KB
Estimated disk space required: 17.9 MB
Estimated build time: 0.57 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xfs
Install XFS by running the following commands:
sed -i '/autoconf/d' Makefile && make DEBUG=-DNDEBUG INSTALL_USER=root INSTALL_GROUP=root \ LOCAL_CONFIGURE_OPTIONS="--enable-readline=yes"
This package does not come with a test suite.
Now, as the root user:
make install && make install-dev && install -v -m755 -D libhandle/libhandle.la /usr/lib/libhandle.la && chmod -v 755 /lib/libhandle.so* && rm -f /lib/libhandle.{a,la,so} && ln -svf ../../lib/libhandle.so.1 /usr/lib/libhandle.so
sed -i '/autoconf/d' Makefile: This command disables running autoconf because it is unnecessary.
make DEBUG=-DNDEBUG: The XFS build will fail using the default -DDEBUG flags.
INSTALL_USER=root INSTALL_GROUP=root: This sets the owner and group of the installed files.
LOCAL_CONFIGURE_OPTIONS="...": This passes extra configuration options to the configure script. The example --enable-readline=yes parameter enables linking the XFS programs with the libreadline.so library, in order to allow editing interactive commands.
OPTIMIZER="...": Adding this parameter to the end of the make command overrides the default optimization settings.
make install-dev: This command installs static XFS libraries, their headers and the corresponding documentation. Currently, DMAPI and xfsdump are the only packages that use the installed libraries.
install -v ... and the three following commands fix the installation of libhandle libraries.
Last updated on 2007-02-02 05:00:08 -0600