zoukankan      html  css  js  c++  java
  • centos 挂载ntfs分区格式硬盘

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

     [root@localhost ntfs-3g-2010.5.22]# rpm -qa | grep fuse

     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@localhost packages]# tar -zxvf ntfs-3g-2010.5.22.tgz 

     进入解压后的目录

     [root@localhost packages]# cd ntfs-3g-2010.5.22

     [root@localhost ntfs-3g-2010.5.22]#

     文件夹中的文件   

     [root@localhost ntfs-3g-2010.5.22]# ls

     aclocal.m4    config.h       configure.ac  INSTALL       m4           README

     AUTHORS       config.h.in    COPYING       install-sh    Makefile     src

     autogen.sh    config.log     COPYING.LIB   libfuse-lite  Makefile.am  stamp-h1

     ChangeLog     config.status  CREDITS       libntfs-3g    Makefile.in

     compile       config.sub     depcomp       libtool       missing

     config.guess  configure      include       ltmain.sh     NEWS

     [root@localhost ntfs-3g-2010.5.22]# 

     接着依次执行     

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

     [root@localhost ntfs-3g-2010.5.22]#make 

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

     完了之后就可以正常mount ntfs 文件了

     [root@localhost ntfs-3g-2010.5.22]# mount -t ntfs-3g /dev/sda2 /mnt

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

     centos    RECYCLER                                vm2k3

     IDE       System Volume Information               vmdesk

     Incoming  TDDOWNLOAD                              w2003SP2.iso

     kankan    the brothers four                       windows  

     music     ubuntustudio-10.04-alternate-amd64.iso  读书

     news      vm

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

  • 相关阅读:
    分析模式的位置
    SAP .Net Connector for C#
    NETBPM开源工作流讲座
    BW处理链的时间为什么会每天推迟2秒钟?
    如何在SubScreen中取得上一screen中的值
    flash弹出窗口被ie屏蔽的解决方法
    用Eclipse 开发Flex (配置安装Flex插件)
    rtmp和http方式在播放flv方面的各自优势和劣势
    FMS4 P2P直播解决方案
    [AS3]URLLoader+URLRequest+JPGEncoder实现BitmapData图片数据保存
  • 原文地址:https://www.cnblogs.com/ylqmf/p/2683321.html
Copyright © 2011-2022 走看看