How to mount Sync on Linux with davfs2

Use davfs2 to mount the Sync WebDAV server as a local filesystem. It can be useful when you want a simple system-level WebDAV mount without using Rclone.

Before you begin, you'll need:

Installation

Create a mount point

  • Run: mkdir -p ~/sync-drive

Update default buffer size

  • Open the davfs2 configuration file: sudo nano /etc/davfs2/davfs2.conf
  • Find buf_size and set it to: buf_size 64
    (Make sure the line is uncommented).

Mount Sync

  • Run: sudo mount -t davfs -o uid=1000,gid=1000 http://127.0.0.1:4918 ~/sync-drive/

Your Sync files should now be available at: ~/sync-drive

Unmount Sync

  • Run: sudo umount ~/sync-drive

Note: The Sync WebDAV server must remain running while the filesystem is mounted.

Was this article helpful?
0 out of 0 found this helpful