zoukankan      html  css  js  c++  java
  • redhat6.5安装ntfs-3g rpm来支持ntfs文件系统挂载

    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

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

  • 相关阅读:
    四月⑨日
    4月⑦日
    4月6日
    四月⑧日
    第一天上课
    modelsim的do文件
    SCCB协议
    FPGA之VGA控制
    FPGA常用术语
    乘法器之六(硬件乘法器)
  • 原文地址:https://www.cnblogs.com/wrencai/p/4515656.html
Copyright © 2011-2022 走看看