mac下挂在原生挂在ntfs分区
-
环境要求
- macos 10.13.6
1. 查看分区
- $ diskutil list
-
- /dev/disk0 (internal):
- #: TYPE NAME SIZE IDENTIFIER
- 0: GUID_partition_scheme 256.1 GB disk0
- 1: EFI SYSTEM 1.3 GB disk0s1
- 2: Microsoft Reserved 16.8 MB disk0s2
- 3: Microsoft Basic Data Windows 64.6 GB disk0s3
- 4: Windows Recovery 924.8 MB disk0s4
- 5: Microsoft Basic Data Tool 37.6 GB disk0s5
- 6: Apple_APFS Container disk1 151.6 GB disk0s6
-
- /dev/disk1 (synthesized):
- #: TYPE NAME SIZE IDENTIFIER
- 0: APFS Container Scheme - +151.6 GB disk1
- Physical Store disk0s6
- 1: APFS Volume macOS10126 69.7 GB disk1s1
- 2: APFS Volume Preboot 21.9 MB disk1s2
- 3: APFS Volume Recovery 519.0 MB disk1s3
- 4: APFS Volume VM 1.1 GB disk1s4
2.选择要挂载的分区
- Microsoft Basic Data Windows 64.6 GB disk0s3
- Microsoft Basic Data Tool 37.6 GB disk0s5
3.创建配置文件
sudo vim /sbin/mount_ntfs_orig
添加一下信息
- #!/bin/sh
-
- /sbin/mount_ntfs_orig -o rw,nobrowse "$@"
4.创建文件夹并挂载
- sudo mkdir -p /Volumes/Tool
- sudo mkdir -p /Volumes/Windows
-
-
- sudo mount -t ntfs -o rw,nobrowse /dev/disk0s5 /Volumes/Tool
- sudo mount -t ntfs -o rw,nobrowse /dev/disk0s3 /Volumes/Windows