rclone/cmd/serve
Nick Craig-Wood 02f7da4b0c 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-28 16:26:07 +01:00
..
dlna dlna: change icons to the newest ones. 2022-01-13 16:23:24 +00:00
docker mount: fix --devname and fusermount: unknown option 'fsname' when mounting via rc 2022-04-28 16:26:07 +01:00
ftp Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
http docs/serve: move help for template option into separate section 2022-01-25 18:19:21 +01:00
httplib docs: capitalization of flag usage strings 2021-12-30 14:07:24 +01:00
proxy Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
restic Add Akamai Netstorage as a new backend. 2022-03-09 12:42:22 +00:00
servetest build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
sftp serve sftp: update docs on --stdio 2021-11-12 10:49:35 +00:00
webdav Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
serve.go cmd/serve: add serve docker command (#5415) 2021-07-10 23:56:09 +03:00