Skip to content

macOS: avoid macFUSE threaded fork and Linux-only options - #400

Open
HuangYingNing wants to merge 1 commit into
libfuse:masterfrom
HuangYingNing:macos-macfuse-compat
Open

HuangYingNing wants to merge 1 commit into
libfuse:masterfrom
HuangYingNing:macos-macfuse-compat

Conversation

@HuangYingNing

Copy link
Copy Markdown

Summary

  • Keep SSHFS in the foreground on macOS so macFUSE is not asked to fork after entering its threaded state.
  • Establish SSH/SFTP before mounting on macOS.
  • Discard the Linux-only auto_unmount option on macOS.

Reproduction

On macOS 27.0.1 arm64 with macFUSE 5.5.0, SSHFS 3.7.6 printed after Ctrl-C:

remote host has disconnected
fuse: forking a threaded process is unsafe, the child may crash or deadlock

The local build uses libfuse 3.18.3 from macFUSE Library-3. The change was compiled and the resulting SSHFS binary was verified as arm64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant