在mac下ntfs分區總是以只讀方式掛載,雙操作系統,尤其有些時候需要用u盤,需要手工umount再mount,很麻煩,找了一些資料,通過修改/etc/fstab文件無效,要么就是使用第三方軟件,不合要求,無意搜到以下鏈接:
其中通過修改系統的/sbin/mount_ntfs腳本能很好的滿足我的需要(10.9下無效),摘錄如下:
打開終端: sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.orig touch mount_ntfs 之后在你的用戶主目錄下會生成一個mount_ntfs的空文件,用文本編輯器打開,輸入以下內容后保存 #!/bin/sh /sbin/mount_ntfs.orig -o rw “$@” 下面繼續回到你之前打開的終端執行: sudo mv mount_ntfs /sbin/mount_ntfs sudo chown root:wheel /sbin/mount_ntfs sudo chmod 755 /sbin/mount_ntfs 至此,完成工作,你的系統將默認以讀寫的方式加載NTFS分區。今后如果需要恢復,則在終端執行: sudo mv /sbin/mount_ntfs.orig /sbin/mount_ntfs
2015年5月7日編輯:
重新上路使用yosemite,相同的問題,再研究,參考http://www.tianwaihome.com/2014/07/mac-osx-ntfs.html
使用的是編輯/etc/fstab文件的方式(原生方式),加入一行:
LABEL=Data none ntfs rw,auto,nobrowse
其中Data為/Volumn目錄下的卷名,nobrowse必須要,其意思是在Finder中不顯示。因此需要自己在桌面建立一個指向Data的鏈接。