1
mirror of https://github.com/rclone/rclone synced 2024-11-30 09:10:05 +01:00
rclone/cmd/mount
Nick Craig-Wood 34c45a7c04 mount, cmount: remove addition of O_CREATE to flags on file open #2141
Previously this was adding it in to all file opens which was causing
inefficiencies under Windows where it stats the file using
open/fstat/close.

This change will make stat operations run much quicker under Windows
as they won't have to open the underlying file

This problem was introduced in61b6159a05336bd7ba105766de2d2ff171f7fb81
where we added O_CREATE to all file opens and creates.
2018-03-15 20:48:56 +00:00
..
test mount: add test scripts 2017-02-17 11:37:19 +00:00
dir.go mount: return ENOSYS rather than EIO on attempted link 2018-03-14 21:10:20 +00:00
file.go mount, cmount: remove addition of O_CREATE to flags on file open #2141 2018-03-15 20:48:56 +00:00
fs.go vfs: Make OpenFile and friends return EINVAL if O_RDONLY and O_TRUNC 2018-02-26 17:04:27 +00:00
handle.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
mount_test.go mount/cmount: factor duplicated code into mountlib 2017-06-19 14:36:51 +01:00
mount_unsupported.go Add mount command to implement FUSE mounting of remotes #494 2016-08-18 21:54:54 +01:00
mount.go mounttest: run the tests for all 4 VFS cache modes 2017-11-20 12:46:21 +00:00