您的位置:首页 > 产品设计 > UI/UE

How To Build xfstools, xfsprogs And xfsdump From Source On Ubuntu

2010-01-18 11:36 721 查看
This short guide explains how you can build xfstools, xfsprogs, and xfsdump from the sources on an Ubuntu system.
In certain instances, running the xfs_fsr utility from the packaged version of xfstools can cause corruption on an XFS filesystem.
This is by no means a catch-all solution, only a guide to help those who are having trouble installing the updated tools.
Install the prerequisites:
The install guide says to run make install-dev and make install-qa, but this did not add the needed libraries, libattr1-dev and libacl1-dev allow the build to complete.
# sudo apt-get install git-core libtool libattr1-dev libacl1-dev build-essential automake autoconf uuid-dev
Download the Git source trees:
# cd ~
# git clone git://oss.sgi.com/xfs/cmds/xfsprogs
# git clone git://oss.sgi.com/xfs/cmds/xfsdump
# git clone git://oss.sgi.com/xfs/cmds/xfstests
Compile source and install:
Install xfsprogs:
# cd ~/xfsprogs
# make
# make install
Install xfsdump:
# cd ~/xfsdump
# make
# make install
Install xfstests:
# cd ~/xfstests
# make
# make install

----------------------------

FATAL ERROR: could not find a valid UUID header.
Install the Universally Unique Identifiers development package.

A:

http://sourceforge.net/projects/e2fsprogs/ 下载并安装
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: