首页 > Web开发 > 详细

redhat6.5安装ntfs-3g rpm来支持ntfs文件系统挂载

时间:2015-05-19 22:28:44      阅读:393      评论:0      收藏:0      [点我收藏+]

linux安装ntfs-3g模块来支持ntfs文件系统挂载

所需包

fuse-2.9.3.tar.gz

ntfs-3g_ntfsprogs-2011.4.12.tgz

step1. 解压fuse-2.9.3.tar.gz

tar -zxvf fuse-2.9.3.tar.gz

step2. 编译安装fuse

cd fuse-2.9.3

./configure

./make

./make install

可能出现的错误

cofigure:error:c compiler cannot create executables

参考:http://askubuntu.com/questions/347466/configure-error-c-compiler-cannot-create-executables

解决方法:

export PATH="/usr/bin:$PATH"

It looks like you have a non-standard version of the GNU linker ld in your /usr/local/bin directory (possibly installed from source), and your PATH environment variable is set such that the system finds that version before the ‘system‘ version (which should be at /usr/bin/ld). If you want to build using the standard system versions of the build tools, you will need to adjust your PATH environment variable so that it searches /usr/bin ahead of /usr/local/bin

If you want to permanently fix your PATH variable, you will need to find out where you set it originally - probably in your ~/.bashrc file, but other locations are possible. Alternatively, if you just need a temporary fix for this build, you could try

export PATH="/usr/bin:$PATH"

in the terminal before executing the ./configure

step3. 解压ntfs-3g_ntfsprogs-2011.4.12.tgz

tar -zxvf ntfs-3g_ntfsprogs-2011.4.12.tgz

step4. 安装ntfs-3g

cd ntfs-3g_ntfsprogs-2011.4.12

./configure

./make

./make install

step5. 测试

查看那个磁盘是ntfs,然后挂载,假设/dev/sdc1是ntfs文件系统

fdisk -l 

挂载/dev/sdc1 的ntfs文件系统设备

mkdir /mnt/hdd

mount -t ntfs-3g /dev/sdc1 /mnt/hdd

如果挂载成功则说明安装正确。

redhat6.5安装ntfs-3g rpm来支持ntfs文件系统挂载

原文:http://www.cnblogs.com/wrencai/p/4515656.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!