The problem background

I want to use a lot of Mac Most of the students will encounter reading and writing NTFS Disk problems , Because by default Mac OSX Yes NTFS Disk mount mode is read-only (read-only) Of , So put a NTFS Insert a disk in the format of Mac On , It can only be read but not written , It's inconvenient to use .

So there are some third-party tools , for example Tuxera NTFS for Mac、Paragon NTFS for MAC etc. , All of these tools can be implemented Mac Next NTFS Write operations for , But these tools are all for a fee , Of course, there are also some cracked versions , But there are security risks in cracking software ,so,I don't really like that.

Besides Tuxera It also provides open source NTFS Read write scheme :NTFS-3G, be based on GPL Authorized by the NTFS-3G You can also use the user space file system in Mac OS X Implemented on NTFS Reading and writing of partition . This scheme is also quite good , It just needs a simple installation , This article will not be expanded . Specific can refer to the official link :

But in fact , We can solve this problem without any third party tools , Because in fact OSX It's support NTFS Of . Later, due to the limitation of Microsoft , Apple has blocked this function , But we can turn this on manually from the command line .

How to do that?

mount Check the disk mount

thatsitdeMacBook-Pro:~ thatsit$ mount
/dev/disk4s2 on /Volumes/Untitled (ntfs, local, nodev, nosuid, read-only, noowners)
thatsitdeMacBook-Pro:~ thatsit$

At this point, if we want to achieve /dev/disk4s1 The writable mount of the partition , We just need to do two steps : uninstall 、 Re mount


thatsitdeMacBook-Pro:~ thatsit$ sudo umount /Volumes/Untitled/

Re mount

thatsitdeMacBook-Pro:~ thatsit$ sudo mount -t ntfs -o rw,auto,nobrowse /dev/disk4s2 /Volumes/Udisk/

Now /dev/disk4s2 Has been mounted in read-write mode to /Volumes/Udisk/ 了 , Next, let's confirm the mount result

Confirm mount

thatsitdeMacBook-Pro:~ thatsit$ mount|grep ntfs
/dev/disk4s2 on /Volumes/Udisk (ntfs, local, noowners, nobrowse)
thatsitdeMacBook-Pro:~ thatsit$

Test write

thatsitdeMacBook-Pro:~ thatsit$ cd /Volumes/Udisk/
thatsitdeMacBook-Pro:Udisk thatsit$ touch test_writing
thatsitdeMacBook-Pro:Udisk thatsit$ ll|grep test_writing
-rwxr-xr-x 1 thatsit staff 0 12 24 17:14 test_writing
thatsitdeMacBook-Pro:Udisk thatsit$
thatsitdeMacBook-Pro:Udisk thatsit$ echo heheda >> test_writing
thatsitdeMacBook-Pro:Udisk thatsit$ cat test_writing
thatsitdeMacBook-Pro:Udisk thatsit$
thatsitdeMacBook-Pro:Udisk thatsit$ ll|grep test_writing
-rwxr-xr-x 1 thatsit staff 7 12 24 17:15 test_writing
thatsitdeMacBook-Pro:Udisk thatsit$

Detailed description of the above mount parameters :

mount -t ntfs -o rw,auto,nobrowse /dev/disk4s2 /Volumes/Udisk/
-t ntfs # Execute the partition file system format to mount 
-o # Execute mount options
rw # read-write, Mount in the form of reading and writing
auto # Automatically detect file systems , This parameter can be omitted
nobrowse # This option is very important , Because this option indicates that in finder It doesn't show this partition , Only when this option is turned on can the disk be mounted in read-write mode
/dev/disk4s2 # Partition to mount , That's where we are mount The drive letter seen in the command
/Volumes/Udisk/ # Mount point * /Volumes/Udisk This directory needs to exist , If it doesn't exist, you need to create it manually :sudo mkdir /Volumes/Udisk
* If the directory does not exist, you will receive the following error :
mount: realpath /Volumes/Udisk: No such file or directory

Through the above test, you can see , At this time NTFS The partition is already writable ; But there is another small problem at this time , Because we use it when we mount it nobrowse Options , This section is in finder It's not shown in the picture .

There are always some students who are not used to using the command line all the time , So we need to solve this problem :
The solution is very simple , Because this partition is hung /Volumes Under the , Let's make a soft link to this directory on the desktop OK 了 .

Create soft link

thatsitdeMacBook-Pro:Udisk thatsit$ sudo ln -s /Volumes/Udisk/ ~/Desktop/Udisk
Password: # <---- Enter the user password
thatsitdeMacBook-Pro:Udisk thatsit$

The effect is as follows : The following drive letter will be displayed on the desktop , Click to enter Finder


Reference link :

Mac How to implement without the help of third-party tools NTFS Partition can be written to mount more related articles

  1. Mac Lower installation Fiddler Caught tools

    demand We all know that Mac There is a very good bag grabbing tool under the computer :Charles. But this can only grasp the agent's packets . But sometimes I want to debug the database of the local network card Charles There's no way . I just thought of windows Next one F ...

  2. python-web automation - File upload operation ( Not input Tag upload , Third party tools are needed )

    File upload operation One . There are two cases of file upload :1. If it is input You can enter the path directly , It can be adjusted directly send_keys Input path 2. Not input Tag upload , Third party tools are needed :    2.1 Autolt Need to be ...

  3. Mac Vector graph design tools under

    Mac Vector graph design tools under A picture is worth a thousand words . A clear diagram, no matter for system design , Process carding , Or other aspects , It's all very important . I once met an old colleague in person FreeHand This vector drawing tool is amazing , And very successful ...

  4. MAC Lower installation Fiddler Caught tools

    demand We all know that Mac There is a very good bag grabbing tool under the computer :Charles. But this can only grasp the agent's packets . But sometimes I want to debug the database of the local network card Charles There's no way . I just thought of windows Next one F ...

  5. Mac Next Supervisor Installation and configuration of process monitoring management tool

    Supervisor Is a class unix Process monitoring and management tools under the operating system . Supervisor By Python It's written in , You can use Python Package installation management tool  pip(Python Package Ind ...

  6. MAC The debug JSON Interface tools (HTTP Caught tools )

    MAC Under the HTTP Interface grab tool , Professional level : Specialized JSON Interface testing tools , Simple to use !

  7. 【MAC】Mac The next part of the common tools

    Homebrew: The official introduction :The missing package manager for OS X(OS X Indispensable suite Manager ) /usr/bin/ruby -e "$(curl - ...

  8. Mac Lower substitution Total Commander Recommended tools for

    [ recommend ]:Nimble Commander Lightweight and compact , There is little difference between the free version and the paid version , More stable , Support sftp And other networked storage , Supports custom hotkeys , Preview, etc . [ other ]: ...

  9. Mac Next use Wine Install the regular expression tool RegexBuddy 4

    download : ( link :  password : b5d3) install : 1. install Wine Reference resources : ...

Random recommendation

  1. win10 UWP Get system information

    Get system information Windows.System.Profile.AnalyticsVersionInfo analyticsVersion = Windows.System.Profile.Analyti ...

  2. windows Next postgresql Installation failure resolution : Unable to run getlocales.exe

    Today we're going to install postgresql But there was an error during the installation Unknown error while running C:\Users\jinjin\AppData\Local\Temp\postgresql ...

  3. vbs Chinese vs excel Common operations of

    Use QTP Automated testing , It's right excel Read and write operations , Here are some common pairs of excel The methods of operation are summarized , summary .( Yes excel The common operations of format setting are not summarized here .) Function DataToExcel ...

  4. About pycharm There is no intelligent solution to import the module written by yourself in

    stay pycharm Right click in the interface py The folder where the file is located , choice Make Directory as file , Choose one of them

  5. Virtual Networking

    How the virtual networks used by guests work Networking using libvirt is generally fairly simple, an ...

  6. ubuntu16.04 Lower installation configuration pl-svo

    Semi-direct Visual Odometry(SVO) Installation configuration http: ...

  7. sphinx Use multiple indexes to search at the same time

    2014 year 2 month 15 Japan 11:24:34 Conclusion : 1. When using multiple indexes to query at one time , The returned result set is fields Fields have no clear meaning ( And there's no documentation for it ) 2. If more than one search is used in the program ...

  8. #C++ Beginners record (ACM test questions 1)

    A - Diverse Strings A string is called diverse if it contains consecutive (adjacent) letters of the ...

  9. React Components ,React And life cycle

    note , Take a look at this blog : react Of jsx document ...

  10. windows How to create .gitignore file / .ssh Folder ? solve windows You must type a file name prompt

    windows Don't allow .gitignore Something like that , Not allowed .ssh Named folder name . You will be prompted to enter a file name . To solve this problem, I have always been through bash Use linux Command created . Recently, a simpler method has been found ...