1
mirror of https://github.com/rclone/rclone synced 2024-10-17 03:01:13 +02:00
rclone/cmd/cmount
Nick Craig-Wood fc32fee4ad mount, cmount: add --attr-timeout to control attribute caching in kernel
This flag allows the attribute caching in the kernel to be controlled.
The default is 0s - no caching - which is recommended for filesystems
which can change outside the control of the kernel.

Previously this was at the default meaning it was 60s for mount and 1s
for cmount.  This showed strange effects when files changed on the
remote not via the kernel.  For instance Caddy would serve corrupted
files for a while when serving from an rclone mount when a file
changed on the remote.
2018-03-04 11:20:22 +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
mount_test.go cmount: disable tests on windows + race detector 2017-11-20 12:46:24 +00:00
mount_unsupported.go Use build tags to control when and where cmount is built 2017-05-19 17:08:04 +01:00
mount.go mount, cmount: add --attr-timeout to control attribute caching in kernel 2018-03-04 11:20:22 +00:00