1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-04 17:43:50 +00:00

mount: disable mount for freebsd

The upstream library rclone uses for rclone mount no longer supports
freebsd. Not only is it broken, but it no longer compiles.

This patch disables rclone mount for freebsd.

However all is not lost for freebsd users - compiling rclone with the
`cmount` tag, so `go install -tags cmount` will install a working
`rclone mount` command which uses cgofuse and the libfuse C library
directly.

Note that the binaries from rclone.org will not have mount support as
we don't have a freebsd build machine in CI and it is very hard to
cross compile cmount.

See: https://github.com/bazil/fuse/issues/280
Fixes #5843
This commit is contained in:
Nick Craig-Wood
2023-10-29 14:15:34 +00:00
parent 0b90dd23c1
commit af8ba18580
8 changed files with 15 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
//go:build linux || freebsd
// +build linux freebsd
//go:build linux
// +build linux
package mount