2015-10-22 41 views
5

請原諒我,如果這是別處,但我找不到它。如何將ntfs-3g與自制軟件連接起來?

我想在OS X 10.11(埃爾卡皮坦)上安裝NTFS-3G。

I am following the process at this link

但安裝步驟NTFS-3G報告:

$ brew install homebrew/fuse/ntfs-3g 
Warning: homebrew/fuse/ntfs-3g-2015.3.14 already installed, it's just not linked 

所以......

  1. 我如何只是鏈接安裝的項目?

  2. 一旦完成,我該如何完成安裝過程?鏈接後有沒有什麼'brew install ...'過程會執行?

編輯: 繼bfontaine ...我得到:

$ brew link homebrew/fuse/ntfs-3g         
Linking /usr/local/Cellar/ntfs-3g/2015.3.14... 
Error: Could not symlink share/doc/ntfs-3g/README 
Target /usr/local/share/doc/ntfs-3g/README 
already exists. You may want to remove it: 
    rm '/usr/local/share/doc/ntfs-3g/README' 

To force the link and overwrite all conflicting files: 
    brew link --overwrite ntfs-3g 

To list all files that would be deleted: 
    brew link --overwrite --dry-run ntfs-3g 
$ brew link --overwrite homebrew/fuse/ntfs-3g 
Linking /usr/local/Cellar/ntfs-3g/2015.3.14... 
Error: Could not symlink share/doc/ntfs-3g/README 
/usr/local/share/doc/ntfs-3g is not writable. 

我要去下來一個洞?如果我沖泡卸載,它會清理一切,還是我必須手動清理它?

這是越來越亂......

EDIT2: 釀造link的輸出--overwrite --dry經營的是:

$ brew link --overwrite --dry-run homebrew/fuse/ntfs-3g 
Would remove: 
/usr/local/include/ntfs-3g/acls.h 
/usr/local/include/ntfs-3g/attrib.h 
/usr/local/include/ntfs-3g/attrlist.h 
/usr/local/include/ntfs-3g/bitmap.h 
/usr/local/include/ntfs-3g/bootsect.h 
/usr/local/include/ntfs-3g/cache.h 
/usr/local/include/ntfs-3g/collate.h 
/usr/local/include/ntfs-3g/compat.h 
/usr/local/include/ntfs-3g/compress.h 
/usr/local/include/ntfs-3g/debug.h 
/usr/local/include/ntfs-3g/device.h 
/usr/local/include/ntfs-3g/device_io.h 
/usr/local/include/ntfs-3g/dir.h 
/usr/local/include/ntfs-3g/ea.h 
/usr/local/include/ntfs-3g/efs.h 
/usr/local/include/ntfs-3g/endians.h 
/usr/local/include/ntfs-3g/index.h 
/usr/local/include/ntfs-3g/inode.h 
/usr/local/include/ntfs-3g/ioctl.h 
/usr/local/include/ntfs-3g/layout.h 
/usr/local/include/ntfs-3g/lcnalloc.h 
/usr/local/include/ntfs-3g/logfile.h 
/usr/local/include/ntfs-3g/logging.h 
/usr/local/include/ntfs-3g/mft.h 
/usr/local/include/ntfs-3g/misc.h 
/usr/local/include/ntfs-3g/mst.h 
/usr/local/include/ntfs-3g/ntfstime.h 
/usr/local/include/ntfs-3g/object_id.h 
/usr/local/include/ntfs-3g/param.h 
/usr/local/include/ntfs-3g/realpath.h 
/usr/local/include/ntfs-3g/reparse.h 
/usr/local/include/ntfs-3g/runlist.h 
/usr/local/include/ntfs-3g/security.h 
/usr/local/include/ntfs-3g/support.h 
/usr/local/include/ntfs-3g/types.h 
/usr/local/include/ntfs-3g/unistr.h 
/usr/local/include/ntfs-3g/volume.h 
/usr/local/include/ntfs-3g/xattrs.h 
/usr/local/share/man/man8/mkfs.ntfs.8 -> /usr/local/share/man/man8/mkntfs.8 
/usr/local/share/man/man8/mkntfs.8 
/usr/local/share/man/man8/mount.lowntfs-3g.8 -> /usr/local/share/man/man8/ntfs-3g.8 
/usr/local/share/man/man8/mount.ntfs-3g.8 -> /usr/local/share/man/man8/ntfs-3g.8 
/usr/local/share/man/man8/ntfs-3g.8 
/usr/local/share/man/man8/ntfs-3g.probe.8 
/usr/local/share/man/man8/ntfs-3g.secaudit.8 
/usr/local/share/man/man8/ntfs-3g.usermap.8 
/usr/local/share/man/man8/ntfscat.8 
/usr/local/share/man/man8/ntfsclone.8 
/usr/local/share/man/man8/ntfscluster.8 
/usr/local/share/man/man8/ntfscmp.8 
/usr/local/share/man/man8/ntfscp.8 
/usr/local/share/man/man8/ntfsfix.8 
/usr/local/share/man/man8/ntfsinfo.8 
/usr/local/share/man/man8/ntfslabel.8 
/usr/local/share/man/man8/ntfsls.8 
/usr/local/share/man/man8/ntfsprogs.8 
/usr/local/share/man/man8/ntfsresize.8 
/usr/local/share/man/man8/ntfsundelete.8 
/usr/local/lib/libntfs-3g.86.dylib 
/usr/local/lib/libntfs-3g.a 
/usr/local/lib/libntfs-3g.dylib -> /usr/local/lib/libntfs-3g.86.dylib 
/usr/local/lib/pkgconfig/libntfs-3g.pc 
$ 

但即使在 '釀造卸載......'目錄/ usr/local/include/ntfs-3g仍然存在

+0

'brew link --overwrite --dry-run ntfs-3g'的輸出是什麼? – bfontaine

+0

Again .. updated ...感謝您的幫助... –

+1

您可以運行'sudo chown -R $(whoami):admin/usr/local',然後再試一次'brew link --overwrite ntfs-3g'? – bfontaine

回答

6

使用brew link homebrew/fuse/ntfs-3g


爲了進一步去這裏是我們共同的命令與此有關:

brew install <formula> # install (and link) the formula 
brew unlink <formula> # unlink the formula 
brew link <formula>  # link the formula 
brew uninstall <formula> # uninstall (and unlink) the formula 

要理解這一點,你需要知道,當家釀安裝一個公式foo版本1.2.3,它/usr/local/Cellar/foo/1.2.3/將所有文件安裝,然後符號鏈接都是二進制文件在/usr/local/bin;所有的手冊頁在/usr/local/share/man;等等。這意味着/usr/local/bin/something而不是一個二進制符號,但符號鏈接到相關的二進制文件(例如/usr/local/Cellar/foo/1.2.3/bin/something)。
有時二進制文件會相互衝突。例如,mysqlmariadb都提供mysql二進制。 Homebrew將無法同時連接兩者,因此它允許您安裝一個;取消關聯;然後安裝其他。這樣你就可以在你的系統上同時存在衝突。

+0

請參閱我的更新問題並提供您的建議結果。 –

+0

Arrrggg ...現在每次連接驅動器時,名稱每次都會增加一(1)....如何使用舊名稱重新裝入它? –

相關問題