rclone/cmd/mount
Nick Craig-Wood 54deb01f00 vfs: Make OpenFile and friends return EINVAL if O_RDONLY and O_TRUNC
Before this change Open("name", os.O_RDONLY|os.O_TRUNC) would have
truncated the file.  This is what Linux does, but is counterintuitive.
POSIX states this is undefined, so return an error in this case
instead.  This preserves the invariant O_RDONLY => file is not
changed.
2018-02-26 17:04:27 +00:00
..
test mount: add test scripts 2017-02-17 11:37:19 +00:00
dir.go vfs: add flags parameter to Dir.Create 2018-01-19 13:18:40 +00:00
file.go mount: don't set modtime twice #2021 2018-01-29 20:49:13 +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.go mounttest: run the tests for all 4 VFS cache modes 2017-11-20 12:46:21 +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