(转)centos挂载ntfs移动硬盘

wenshifang 2010-08-27

1, 首先确认fuse,CentOS 5.5 带有fuse,可以使用 rpm -qa | grep fuse 查看是否安装。

[root@localhostntfs-3g-2010.5.22]#rpm-qa|grepfuse

fuse-2.7.4-8.el5

说明已经安装fuse

如果没有显示,请执行

[root@localhost ntfs-3g-2010.5.22]#yum install fuse

2,安装ntfs-3g,系统默认的软件库更新不到ntfs-3g,可以自己下载编译安装。

下载网址:http://www.tuxera.com/community/ntfs-3g-download/

下载完后安装,安装方法下载点有。

简单介绍一下,下载后解压

[root@localhostpackages]#tar-zxvfntfs-3g-2010.5.22.tgz

进入解压后的目录

[root@localhostpackages]#cdntfs-3g-2010.5.22

[root@localhostntfs-3g-2010.5.22]#

文件夹中的文件

[root@localhostntfs-3g-2010.5.22]#ls

aclocal.m4config.hconfigure.acINSTALLm4README

AUTHORSconfig.h.inCOPYINGinstall-shMakefilesrc

autogen.shconfig.logCOPYING.LIBlibfuse-liteMakefile.amstamp-h1

ChangeLogconfig.statusCREDITSlibntfs-3gMakefile.in

compileconfig.subdepcomplibtoolmissing

config.guessconfigureincludeltmain.shNEWS

[root@localhostntfs-3g-2010.5.22]#

接着依次执行

[root@localhostntfs-3g-2010.5.22]#./configure

[root@localhostntfs-3g-2010.5.22]#make

[root@localhostntfs-3g-2010.5.22]#makeinstall

完了之后就可以正常mountntfs文件了

[root@localhostntfs-3g-2010.5.22]#mount-tntfs-3g/dev/sda2/mnt

[root@localhostntfs-3g-2010.5.22]#ls/mnt

centosRECYCLERvm2k3

IDESystemVolumeInformationvmdesk

IncomingTDDOWNLOADw2003SP2.iso

kankanthebrothersfourwindows

musicubuntustudio-10.04-alternate-amd64.iso读书

news      vm

卸载移动硬盘请执行[root@localhost ntfs-3g-2010.5.22]#umount /mnt

相关推荐