rclone/cmd/serve/docker
Nick Craig-Wood 5605e34f7b mount: fix --devname and fusermount: unknown option 'fsname' when mounting via rc
In this commit

f4c40bf79d mount: add --devname to set the device name sent to FUSE for mount display

The --devname parameter was added. However it was soon noticed that
attempting to mount via the rc gave this error:

    mount helper error: fusermount: unknown option 'fsname'
    mount FAILED: fusermount: exit status 1

This was because the DeviceName (and VolumeName) parameter was never
being initialised when the mount was called via the rc.

The fix for this was to refactor the rc interface so it called the
same Mount method as the command line mount which initialised the
DeviceName and VolumeName parameters properly.

This also fixes the cmd/mount tests which were breaking in the same
way but since they aren't normally run on the CI we didn't notice.

Fixes #6044
2022-04-25 12:17:25 +01:00
..
api.go cmd/serve: add serve docker command (#5415) 2021-07-10 23:56:09 +03:00
docker_test.go serve docker: disable linux tests in CI as they are locking up regularly 2022-02-28 18:01:47 +00:00
docker.go docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
driver.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
help.go docs for serve docker and docker plugin (#5415) 2021-07-10 23:56:09 +03:00
options.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
serve.go lib/file: improve error message when attempting to create dir on nonexistent drive on windows 2021-10-01 23:18:39 +02:00
systemd_unsupported.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
systemd.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
unix_unsupported.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
unix.go lib/file: improve error message when attempting to create dir on nonexistent drive on windows 2021-10-01 23:18:39 +02:00
volume.go mount: fix --devname and fusermount: unknown option 'fsname' when mounting via rc 2022-04-25 12:17:25 +01:00