Purpose of the daemon io.macfuse.app.launchservice.daemon? #1186
|
Hello, I'm curious what the daemon io.macfuse.app.launchservice.daemon is for, as it's not really touched upon in the documentation. If this is used to facilitate FSKit connections, I don't see any other projects requiring a privileged daemon to utilize FSKit, so what would its purpose be in macFUSE? For example, FUSE-T under whatever backend does not require any such daemon. Thank you. |
Replies: 1 comment 1 reply
|
The daemon is required for several reasons:
|
The daemon is required for several reasons:
Performing the mount operation: The daemon performs the actual mount operation, allowing file system binaries to remain fully sandboxed. By contrast, FUSE-T forks a mount helper, as macFUSE did before version 5.2.0. This approach does not support fully sandboxed file systems.
Creating mount points: macFUSE automatically creates mount points under /Volumes, which is a privileged operation. As far as I know, FUSE-T does not create mount points automatically.
Brokering the FSKit XPC connection: The macFUSE FSKit backend uses a zero-copy architecture. Data chunks read from or written to the virtual volume are passed to libfuse (or another user…