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:
- A Sync account with WebDAV Early Access enabled. Join the early access program.
Installation
- Install and start the Sync WebDAV server. Follow these step-by-step instructions.
- Install davfs2: sudo apt install davfs2
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.