Master Yandex.Disk in Linux. The use, as proposed in radio-t: mounted, threw a backup, have atlanterhavet.
As I understand davfs uses a cache, which adds up to ~./davfs2/cache
How to get davfs to sync the cache when unmounting or not to use cache?
I will explain what is the inconvenience.
Mount the disk, copy a large file (700 MB), amontero.
Yandex file does not appear, he was left lying in the user's cache.
In the ps output is the process that apparently tries to cache already edmontonians drive, but at what stage this process is not clear.
The size of the cache in devfs2.conf the default is 50 MB.
It is possible somehow to force to write files larger than the cache size, just to a remote disk?
and try to mount with the sync option
All I/O to the filesystem should be done synchronously. In case of media with limited number of write cycles (e.g. some flash drives) "sync" may cause life-cycle shortening.
gus.Wintheiser answered on October 8th 19 at 00:34
Well, actually, made a crutch: before unmounting waiting for cache, not leaving all of the files.
cp ~/yandex_test/* /mnt/yandex
while [ `find ~/.davfs2/cache/ -type f -not-name "index"|wc-l` -gt 0 ]; do
At the same time measured the speed. For two files with a total size 258мб script worked 7 minutes, 12 seconds. I.e. the rate of about 0.6 megabits. Yandex from my ISP is local. Maybe "Drive" does not fall within a local network, while in the stage of "betta".