osxfuse:mac ntfs 支持

install

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
brew cask install osxfuse
Updating Homebrew...
Fast-forwarded master to origin/master.
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
No changes to formulae.

==> Caveats
To install and/or use osxfuse you may need to enable their kernel extension in

System Preferences → Security & Privacy → General

For more information refer to vendor documentation or the Apple Technical Note:

https://developer.apple.com/library/content/technotes/tn2459/_index.html

You must reboot for the installation of osxfuse to take effect.

==> Satisfying dependencies
==> Downloading https://github.com/osxfuse/osxfuse/releases/download/osxfuse-3.10.4/osxfuse-3.10.4.dmg
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/1867347/58615480-1769-11ea-8f1f-f6cc029e4f08?X-Amz-Algorithm=AWS4-HMAC-SH
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'osxfuse'.
==> Installing Cask osxfuse
==> Running installer for osxfuse; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
Password:
installer: Package name is FUSE for macOS
installer: Installing at base path /
installer: The install was successful.
==> Changing ownership of paths required by osxfuse; your password may be necessary
🍺 osxfuse was successfully installed!

系统偏好设置-> FUSE

20200115100235.png

添加 NTFS 支持

1
2
brew install ntfs-3g

ntfs-3g 驱动程序作为默认挂载驱动

1
2
3
4
5
6
csrutil disable    # 关闭SIP
sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.bak # 备份
sudo ln -s /usr/local/sbin/mount_ntfs /sbin/mount_ntfs # 替换
csrutil enable # 打开 SIP
reboot # 重启

mac 关闭 SIP(系统完整性保护)

查看SIP状态

在终端中输入csrutil status,就可以看到是enabled还是disabled。

关闭SIP

  • 1 重启MAC,按住cmd+R直到屏幕上出现苹果的标志和进度条,进入Recovery模式;
  • 2 在屏幕最上方的工具栏找到实用工具(左数第3个),打开终端,输入:csrutil disable;
  • 3 关掉终端,重启mac;
  • 4 重启以后可以在终端中查看状态确认。

开启SIP

csrutil enable

ps. 可能会没有写权限,挂载写权限

1
2
sudo mount -uw /

osxfuse:mac ntfs 支持

https://beixiu.net/tool/osxfuse/

作者

张巍

发布于

2020-01-15

更新于

2020-01-15

许可协议

评论