parsec-cloud icon indicating copy to clipboard operation
parsec-cloud copied to clipboard

Implement mountpoint for macOS

Open mmmarcos opened this issue 1 year ago • 11 comments

Parsec packages are already available for macOS (although not yet signed). The only thing missing seems to be file system integration (mountpoints).

Implementation should probably be based on macFUSE because already used for V2, although it may be useful to do some research about other APIs (see comments below).

mmmarcos avatar Jan 12 '24 10:01 mmmarcos

Alternative to macFuse ? https://developer.apple.com/documentation/fileprovider

FirelightFlagboy avatar Jan 12 '24 13:01 FirelightFlagboy

Possible other alternative: https://www.fuse-t.org/

FirelightFlagboy avatar Mar 04 '24 14:03 FirelightFlagboy

Yet another alternative to macFUSE: https://www.fuse-t.org/

Our thoughts about it:

@touilleMan 
It's based on a local NFS server that macOS connects to, so there's no driver problem 
like with macFUSE on the other hand, in terms of security, this means that data can 
more easily remain in macOS cache even after Parsec has been shut down (NFS is used 
to expose hard disks across the network, so the OS tends to do quite a lot of caching to
limit latency...) the downside is that this thing isn't open-source (the source code isn't 
available on GitHub), so I imagine that if you take out a license for commercial use, you'll 
need access to the source code...
@mmmarcos 
IMO, not sure that's the right approach: from what I've read, Apple is increasingly 
discouraging kernel extensions, but they don't yet have alternative APIs to do it all. 
That's probably why extensions still exist. 
MacFUSE seems to me to be a good example, because it's a stable product that doesn't seem
ready to make the switch until the OS offers something that holds up.
Fuse-T is probably a good project but, in addition to the problems you highlight, we're not sure 
about its stability and robustness. Incidentally, here's some not-so-positive feedback: 
https://github.com/osxfuse/osxfuse/issues/987#issuecomment-1932795467
Better the devil you know than the devil you don’t ^^

Anyway, it may be interesting to make some test. We could also ask them about the cache.

See also: https://github.com/macos-fuse-t/fuse-t/wiki#unsupported-features

mmmarcos avatar Mar 04 '24 14:03 mmmarcos