NTFS 3G Linux掛載NTFS,能讀能寫

NTFS-3G - Linux掛載NTFS,能讀能寫

其實掛載NTFS檔案系統對於雙系統來說存取當案相當的方便
suse的環境下,我做好系統時就已經能自動掛載了
讀取的部份也相當正常,有問題的是寫入的部份
為哩更方便使用我的硬碟空間,一定要尋找方式解決的

NTFS-3G是我目前尋找到的方式
大家只要利用google應該也可以找到許多使用教學
當然我也要來紀錄一下我的安裝過程

cd /usr/local/src
wget http://www.ntfs-3g.org/ntfs-3g-1.0.tgz
tar -zxvf ntfs-3g-1.0.tgz
cd ntfs-3g-1.0
./configure
make
make install
當然安裝並不像我寫的那般順利
中途有遇到需要安裝fuse-2.6以上版本的訊息
步驟就跟上面差不多囉~換個檔案跟目錄而已

安裝完成就來試試看掛載吧
ntfs-3g /dev/hda1 /windows/C/ -o silent,umask=0,locale=zh_TW.utf8
嗯嗯~的確可以順利掛載哩~系統也對我發出哩警告訊息
WARNING: Deficient FUSE kernel module detected. Some driver features are
        not available (swap file on NTFS, boot from NTFS by LILO), and
        unmount is not safe unless it's made sure the ntfs-3g process
        naturally terminates after calling 'umount'. The safe FUSE kernel
        driver is included in the official Linux kernels since version
        2.6.20-rc1, or in the FUSE 2.6.0 or later software packages,
        except the faulty FUSE version 2.6.2. Please see the next page
        for more help: http://www.ntfs-3g.org/support.html#fuse26
但是讀寫都正常~所以我也不想理會他的警告哩

網路上看的掛載選項umask都是0
我還真不知道為啥要用0
所以我在/etc/fstab裡就把他作哩更動
當然狀況也是正常囉
/dev/hda1  /windows/C  ntfs-3g  silent,umask=0022,locale=zh_TW.utf8 0 0
/dev/hdb1  /windows/D  ntfs-3g  silent,umask=0022,locale=zh_TW.utf8 0 0
/dev/hda5  /windows/E  ntfs-3g  silent,umask=0022,locale=zh_TW.utf8 0 0

用了幾天之後,發現掛載的ntfs磁區要root權限才能存取
這樣在使用上就不是那麼方便囉~
看看ntfs-3g到底還有甚麼選項可用阿~
果然是有符合需求的
將/etc/fstab稍作修改~果然是符合需求了!!
/dev/hda1  /windows/C  ntfs-3g  defaults,gid=100,umask=0022,locale=zh_TW.utf8 0 0
/dev/hdb1  /windows/D  ntfs-3g  defaults,gid=100,umask=0022,locale=zh_TW.utf8 0 0
/dev/hda5  /windows/E  ntfs-3g  defaults,gid=100,umask=0022,locale=zh_TW.utf8 0 0




NTFS 3G Linux掛載NTFS,能讀能寫 參考影音

繼續努力蒐集當中...

NTFS 3G Linux掛載NTFS,能讀能寫 文章標籤

NTFS-3G - Linux掛載NTFS,能讀能寫 相關文章

星火NEW直播: 最新 APK 下載

第四台業者會哭哭的~

TOP