"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
mount2: add --allow-idmap to advertise FUSE_ALLOW_IDMAP
Valerij Fredriksen675806067afc
diff --git a/cmd/mount2/mount.go b/cmd/mount2/mount.goindex 99317020b..5b2714025 100644--- a/cmd/mount2/mount.go+++ b/cmd/mount2/mount.go@@ -33,6 +33,7 @@ func mountOptions(fsys *FS, f fs.Fs, opt *mountlib.Options) (mountOpts *fuse.MouMaxReadAhead: int(fsys.opt.MaxReadAhead),MaxWrite: 1024 * 1024, // Linux v4.20+ caps requests at 1 MiBDisableReadDirPlus: true,+ IDMappedMount: opt.AllowIDMap,// RememberInodes: true,// SingleThreaded: true,diff --git a/cmd/mountlib/mount.go b/cmd/mountlib/mount.goindex b201005eb..c645655fa 100644--- a/cmd/mountlib/mount.go+++ b/cmd/mountlib/mount.go@@ -93,6 +93,11 @@ var OptionsInfo = fs.Options{{Default: false,Help: "Allow access to other users (not supported on Windows)",Groups: "Mount",+}, {+ Name: "allow_idmap",+ Default: false,+ Help: "Allow id-mapped mounts (Linux 6.12+, mount2 only)",+ Groups: "Mount",}, {Name: "async_read",Default: true,@@ -172,6 +177,7 @@ type Options struct {AllowNonEmpty bool `config:"allow_non_empty"`AllowRoot bool `config:"allow_root"`AllowOther bool `config:"allow_other"`+ AllowIDMap bool `config:"allow_idmap"`DefaultPermissions bool `config:"default_permissions"`WritebackCache bool `config:"write_back_cache"`Daemon bool `config:"daemon"`