rclone/cmd/mount2
Nick Craig-Wood a6f6a9dcdf mount,mount2,cmount: fix --allow-non-empty #3562
Since version 3 of fuse libfuse no longer does anything when given the
nonempty option and it's default is to allow mounting over non empty
directories like normal mount does.

Some versions of libfuse give an error when using `--allow-non-empty`
which is annoying for the user.

We now do this check ourselves so we no longer need to pass the option
to libfuse.

Fixes #3562
2023-01-20 15:39:54 +00:00
..
file.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
fs.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
mount_test.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
mount_unsupported.go build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
mount.go mount,mount2,cmount: fix --allow-non-empty #3562 2023-01-20 15:39:54 +00:00
node.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00