【Linux】Linux 自己主动挂载NTFS格式移动硬盘

1.首先下载ntfs-3g http://www.tuxera.com/community/ntfs-3g-download/

2.解压 $tar zxvf ntfs-3g_ntfsprogs-2011.4.12.tgz

3.在源代码文件夹下依次运行./configure make make install

4.用root权限建立/sbin/mount.ntfs文件。内容例如以下:

 #!/bin/sh
         export LANG=en_US.UTF-8
         exec /sbin/mount.ntfs-3g "$@"

5. 加入可运行权限

     chmod +x /sbin/mount.ntfs

posted @ 2016-02-17 10:12  mengfanrong  阅读(174)  评论(0编辑  收藏  举报