문제

If I rsync a directory with some remote directory under an sshfs management, even if the rsync process finishes synching the 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!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top