Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

rc: Fix mount/listmounts not returning the full Fs entered in mount/mount

Tom Mombourquette38f1f5b177e9
diff --git a/cmd/mountlib/rc.go b/cmd/mountlib/rc.go
index 3717db28a..d4c091235 100644
--- a/cmd/mountlib/rc.go
+++ b/cmd/mountlib/rc.go
@@ -258,7 +258,7 @@ func listMountsRc(_ context.Context, in rc.Params) (out rc.Params, err error) {
for _, k := range keys {
m := liveMounts[k]
info := MountInfo{
- Fs: m.Fs.Name(),
+ Fs: fs.ConfigString(m.Fs),
MountPoint: m.MountPoint,
MountedOn: m.MountedOn,
}