fuse
fuse copied to clipboard
Support fusermount3
Currently, fusermount is hard-coded in some places [1][2]. Could you consider support fusermount3 from libfuse3 [3] as well?
I tried fusermount3 with restic and it works:
$ mkdir foo
$ ln -s /usr/bin/fusermount3 foo/fusermount
$ PATH="$PATH:$PWD/foo" restic mount /path/to/mount_point
Environment: Arch Linux, restic 0.12.0, fuse3 3.10.3, kernel 5.10.28
[1] https://github.com/bazil/fuse/blob/fb710f7dfd05053a3bc9516dd5a7a8f84ead8aab/unmount_linux.go#L10 [2] https://github.com/bazil/fuse/blob/fb710f7dfd05053a3bc9516dd5a7a8f84ead8aab/mount_linux.go#L70-L75 [3] https://github.com/libfuse/libfuse/blob/fuse-3.10.3/util/meson.build#L3