mirror of
https://github.com/rclone/rclone.git
synced 2025-01-19 04:47:54 +02:00
5605e34f7b
In this commit f4c40bf79ddfd17c 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