sje30
October 2, 2022, 3:57pm
1
Hi,
A new user of restic here, and find it very useful, thank you.
One possible suggestion. I’m on a Mac M1, and like many others have reported, e.g.
opened 12:56PM - 14 Nov 20 UTC
category: project
category: mount
platform: darwin
The library we're using for fuse (https://github.com/bazil/fuse) [dropped suppor… t for macOS entirely](https://github.com/bazil/fuse/issues/224) a while back because the source code for osxfuse is [not available any more](https://github.com/osxfuse/osxfuse/issues/590). For now, we've pinned the last working version so `restic mount` still works.
In #3094, I've disabled the fuse tests on macOS because they fail randomly.
Some thoughts:
* At some point I'd like to update the `fuse` again, then restic on macOS will not be able to use the `mount` command any more
* It feels to me that macOS will lose the ability to load custom kernel modules (osxfuse is a kernel module) sooner than later
* Until now restic consists only of Go code, we don't need `cgo` for building. That makes the build process (for us as well as for our users) **much** simpler and we haven't had any issues.
My idea would be to refactor the fuse code and implement a simple webserver view as well as a WebDAV server (see #485) as an alternative to fuse. This way, also users on Windows benefit.
the mount does not work on Macs because of problems with osxfuse. I only found the GitHub issue after spending about twenty minutes trying to get osxfuse working (without success).
in the documentation,
https://restic.readthedocs.io/en/latest/050_restore.html#restore-using-mount
says “On macOS, you need FUSE for macOS”
could this come with a warning that does not currently work? It might save others some time trying/failing to get it to work.
Thanks, Stephen