Snow Leopard's NTFS read/write support

I CAN HAS WRAIT SUPPORT?

There had been mentions of Snow Leopard (Mac OS X 10.6) pre-release builds supporting read/write support for NTFS (native file system for current Windows versions). Read-only NTFS support was available since Tiger (10.4) days, so this was an interesting development. Unfortunately, read/write support was apparently dropped in the final release build of SL.

It turns out the support is still there, but disabled by default. This post by Chrysaor at MacRumors shows how to modify fstab to force an NTFS partition to mount in read/write mode. The drawback of this trick is that you have to manually do it to every partition you want to mount, and you need to unmount and remount the partition after applying the trick to get it to work. Hardly elegant, mind you.

Luckily, there is a much simpler and elegant way. Click below to find out.

Essentially, iBlacky of the same forum posted a better method. Basically, it's running mount_ntfs with read/write option specified. Here's how it's done in Terminal:
sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.orig
sudo nano /sbin/mount_ntfs
#!/bin/sh
/sbin/mount_ntfs.orig -o rw "$@"
(press Enter, Ctrl-O, Enter, Ctrl-X in sequence)
sudo chown root:wheel /sbin/mount_ntfs
sudo chmod 755 /sbin/mount_ntfs

Make sure to check that mount_ntfs is listed as -rwxr-xr-x and root wheel when you type ls -al /sbin/mount_ntfs and you're good to go.

UPDATE 23:03 - I have tested this and found it to work, but if it isn't working for you, it may be that the NTFS partition wasn't cleanly unmounted previously (e.g. not using safe eject in Windows). To check if this is the case, open Console in Utilities, and go to 'All Messages' instead of 'Console Messages'. Search for 'ntfs' and you may come across an error that displays like this:
NTFS-fs error (device /dev/disk3s1, pid 435): ntfs_system_inodes_get(): $LogFile is not clean. Mounting read-only. Mount in Windows.

You need to plug the disk into Windows-running system, and do a safe eject. Then the NTFS partition will mount in read/write mode.

Also, there's a third method to enable read/write capability, that of editing /System/Library/Filesystems/ntfs.fs/Contents/info.plist, as seen in this AppleNova thread. It involves putting -o rw argument into FSMountArguments key, which is essentially the same thing as the script method, but having the argument placed within ntfs.fs instead of in a script.

NTFS is Writable? Yes!

If all went well, you'll see that the NTFS partition will show up as 'Writable: Yes' like you see above when right-clicking on the partition and selecting 'Information' in Disk Utility.

Trackbacks

Trackback specific URI for this entry

This link is not meant to be clicked. It contains the trackback URI for this entry. You can use this URI to send ping- & trackbacks from your own blog to this entry. To copy the link, right click and select "Copy Shortcut" in Internet Explorer or "Copy Link Location" in Mozilla.

No Trackbacks

Comments

Display comments as Linear | Threaded

iBlack on :

Btw. to edit

/System/Library/Filesystems/ntfs.fs/Contents/info.plist

and to add "-o rw"

to

FSMountArguments

doesn't work because the

diskarbitrationd

deamon doesn't read the info.plist, so no matter what you insert in "FSMountArguments" the "diskarbitrationd" daemon ignores it.

Wesley on :

Thanks for the information. :-)

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.

Copyright (C) 1996-2024 Woo-Duk Chung (Wesley Woo-Duk Hwang-Chung). All rights reserved.