Linux系統(CentOS 6.4)的NTFS驅動-NTFS-3g的安裝和配置

來源:互聯網
上載者:User

使用 ntfs-3g 驅動程式來解決。 
  下載頁面:http://www.tuxera.com/community/ntfs-3g-download/

當前最新版本:ntfs-3g_ntfsprogs-2013.1.13.gz

 

安裝ntfs-3g

    # tarzxvf ntfs-3g_ntfsprogs-2013.1.13.gz

    # cdntfs-3g_ntfsprogs-2013.1.13

    #./configure --prefix=/usr/local/ntf3g    //編譯,指定安裝目錄/usr/local/ntf3g,可以不指定

    #make

    # makeinstall

Installation

Linux: Mostdistributions include and use NTFS-3G by default. Please usethat one unless it’s an
old version.If you wish to install NTFS-3G from the source code then make sureyou have installed the basic development tools (gcc compiler,libc-dev libraries). Then type:

./configure
make
make install
# or 'sudo makeinstall' if you aren't root

Non-Linux: Please see the OS specific installation and sourcepackages above.

 

 

判斷哪個分區是NTFS格式,載入NTFS分區;

# fdisk -l

注意:用"fdisk  -l"查看硬碟分區資訊時,出現了“-bash:fdisk:commandnot found”的錯誤,解決辦法如下:

      1,管理員登入

      2,執行命令#ln -s /sbin/fdisk /usr/bin

      OK! 

 

Usage

If there was no error during installation then the NTFS volumecan be mounted in read-write mode for everybody as follows. Unmountthe volume if it had already been mounted, replace /dev/sda1 and/mnt/windows, if needed.

mount -t ntfs-3g/dev/sda1 /mnt/windows

Please see the NTFS-3GManual for more options and examples.

You can also make NTFS to be mounted during boot by adding thefollowing line to the
end of the /etc/fstabfile:

/dev/sda1 /mnt/windows ntfs-3gdefaults 0 0

 

開機分區自動掛載

      應把一下命令放入/etc/fstab中

 

取消磁碟掛載:umount命令

# umount /mnt/win1

 

 

參考網站1:http://blog.csdn.net/zfr046/article/details/8095263

 

參考網站2:http://hi.baidu.com/a381243429/item/a6a21e33453016f8de222116

 

軟體下載:http://www.tuxera.com/community/ntfs-3g-download/

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.