开发者

Any way to eliminate time lag with sshfs?

开发者 https://www.devze.com 2023-01-15 14:22 出处:网络
If I rsync a directory with some remote directory under an sshfs management, even if the rsync process finishes synching t开发者_开发百科he

If I rsync a directory with some remote directory under an sshfs management, even if the rsync process finishes synching t开发者_开发百科he directory contents, there seems to be a time lag for the sshfs directory to get updated. It is unintuitive and makes some automation process relying on sshfs contents unstable.

How do I eliminate the lag?


-o cache=no in your sshfs options will turn off caching.


Note: no should be lower case: -o cache=NO should give you an error!

0

精彩评论

暂无评论...
验证码 换一张
取 消