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

mount: remove legacy OS X remnants

albertonyafa30abd33d0
diff --git a/cmd/mount/dir.go b/cmd/mount/dir.go
index c49373d59..47ec4bf2d 100644
--- a/cmd/mount/dir.go
+++ b/cmd/mount/dir.go
@@ -39,7 +39,6 @@ func (d *Dir) Attr(ctx context.Context, a *fuse.Attr) (err error) {
a.Atime = modTime
a.Mtime = modTime
a.Ctime = modTime
- a.Crtime = modTime
// FIXME include Valid so get some caching?
// FIXME fs.Debugf(d.path, "Dir.Attr %+v", a)
return nil
diff --git a/cmd/mount/file.go b/cmd/mount/file.go
index 434ed753f..1a0ad6c28 100644
--- a/cmd/mount/file.go
+++ b/cmd/mount/file.go
@@ -37,7 +37,6 @@ func (f *File) Attr(ctx context.Context, a *fuse.Attr) (err error) {
a.Atime = modTime
a.Mtime = modTime
a.Ctime = modTime
- a.Crtime = modTime
a.Blocks = Blocks
return nil
}
diff --git a/cmd/mount/mount.go b/cmd/mount/mount.go
index d6fbf1a92..db0f23bd3 100644
--- a/cmd/mount/mount.go
+++ b/cmd/mount/mount.go
@@ -27,7 +27,6 @@ func mountOptions(VFS *vfs.VFS, device string, opt *mountlib.Options) (options [
fuse.MaxReadahead(uint32(opt.MaxReadAhead)),
fuse.Subtype("rclone"),
fuse.FSName(device),
- fuse.VolumeName(opt.VolumeName),
// Options from benchmarking in the fuse module
//fuse.MaxReadahead(64 * 1024 * 1024),
@@ -105,12 +104,6 @@ func mount(VFS *vfs.VFS, mountpoint string, opt *mountlib.Options) (<-chan error
errChan <- err
}()
- // check if the mount process has an error to report
- <-c.Ready
- if err := c.MountError; err != nil {
- return nil, nil, err
- }
-
unmount := func() error {
// Shutdown the VFS
filesys.VFS.Shutdown()