I have mounted a webdav directory with davfs2 via:
sudo mount -t davfs -o uid=bruni,gid=users https://server/folder /home/bruni/mountpoint/
How can I force a sync via command line without unmounting the directory?
The client is running KUbuntu 19.10, the server is an egroupware server but this is most probably irrelevant.
mount.davfs -V
davfs2 1.5.5 <http://savannah.nongnu.org/projects/davfs2>
To clarify what I mean by synchronize, I mean what umount.davfs
, does before unmounting to verify that all changes have been uploaded to the server:
/sbin/umount.davfs: waiting while mount.davfs (pid xxxxx) synchronizes the cache .. OK
sudo sync /home/bruni/mountpoint
?sync: error opening '/home/bruni/mountpoint': Transport endpoint is not connected
(the share is mounted)Transport endpoint is not connected
means that the process managing the connection has died unexpectedly. The kernel thinks the filesystem is still mounted but there is nothing handling I/O to the target device.