📜 ⬆️ ⬇️

We connect NTFS to write to Mac OS X Yosemite 10.10

Recently, by the will of fate, I won Mac OS X Yosemite 10.10 and faced an unpleasant feature that I can not write to an external disk formatted for ntfs. I wrote a small instruction, suddenly someone will come in handy. If interested, please under the cat.

I am aware of tuxera and paragon , but I don’t want to pay for software, which is very rarely needed and can be compiled from sources.

I think all of us here are not stupid people gathered, and understand that you will use the instructions below at your own risk.

At the moment the quest looks like this:
')
1) Install Xcode from the Appstore
will need to be run later to install the components and accept the agreement or
xcodebuild -license 


2) We deliver the tools
 xcode-select --install 


3) Install macports

4) Update ports
 sudo port -v selfupdate 


5) Put the driver
 sudo port install ntfs-3g 


6) Install the latest signed version of osxfuse
It is worth explaining that this step was not originally planned, but a message of the form "/Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext failed to load - (libkern / kext) not loadable (reason unspecified); check the system / kernel logs for errors or try kextutil (8) "made adjustments

7) Substitute osxfuse
 sudo mv /opt/local/Library/Filesystems/osxfusefs.fs /opt/local/Library/Filesystems/osxfusefs.fs_ports sudo ln -s /Library/Filesystems/osxfusefs.fs /opt/local/Library/Filesystems/osxfusefs.fs 


8) Test mount in my case
 sudo umount /Volumes/backup/ mkdir /Volumes/backup sudo ntfs-3g -o uid=501 -o gid=20 /dev/disk2s1 /Volumes/backup/ 

You can use your uid and gid using the id command.

Total


Of the minuses, I note that the finder, when manually mounted, does not display a disk in the side panel, is not very pleasant.
I also tried to replace /System/Library/Filesystems/ntfs.fs/Contents/Resources/mount_ntfs with my own script that mounts the disk to minimize actions in the console, but somehow it didn’t get stuck.

Admittedly, it looks a bit wild and difficult to copy a file to a flash drive, can anyone have a more beautiful solution?

UPD
it turns out funny ... when I mount ntfs with the nobrowse option - it allows me to write, but does not appear in the finder in the left panel, without this option - only readable is available ... I checked it with 2 poppies. where is the logic?

habrahabr.ru/post/246517/#comment_8191275
habrahabr.ru/post/246517/#comment_8191149

Source: https://habr.com/ru/post/246517/


All Articles