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

本文介绍如何在Ubuntu系统上从源代码编译安装xfstools、xfsprogs及xfsdump等XFS文件系统相关工具。特别针对使用预编译版本可能引起的文件系统损坏问题提供解决方案,包括安装依赖库、获取源代码、编译安装等步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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/ 下载并安装

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值