Mac system reads and writes NTFS-formatted removable hard disks

Source: Internet
Author: User

Mac OS x By default, NTFS-based removable hard disks can be read-only and unreadable, and can be written and read by formatting a removable hard disk as exFAT or by installing NTFS-related tools.
However, for the security of the system, the above methods are not guaranteed;
In Mac OS X, NTFS mobile devices are mounted through the/SBIN/MOUNT_NTFS program, so we can add auxiliary scripting for read and write purposes:

<1>. Backing up the original Mount_ntfs
sudo mv/sbin/mount_ntfs/sbin/mount_ntfs_bk

<2> Create a new auxiliary script, add related read and write properties, call the original MOUNT_NTFS program
Vi/sbin/mount_ntfs
Add the following two lines to the content:
#!/bin/bash
/sbin/mount_ntfs_bk-o rw,nobrowse "[Email protected]"

<3> Modify the current script execution permissions
sudo chmod 755/sbin/mount_ntfs

Then plug in the relevant mobile device can write the ~
Note the point:
[1]. To re-mount the mobile device, you will find that the corresponding letter is not found, actually just do not display, in the terminal or the Finder press Option+cmd+g input/volumes is visible;
[2]. Because the drive letter is not displayed, you can enter sudo hdiutil eject/volumes/your_equipment at the terminal when the mobile device needs to be uninstalled

Mac system reads and writes NTFS-formatted removable hard disks

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.