#326·sshfs

lock operation implementation

Author: dougg0kCreated Apr 1, 2025Updated Nov 11, 2025
Labelsenhancementneeds-help

Hi,

I was reading about sshfs being the solution to work with sqlite dbs in VPS's. And I read that it could corrupt the db when writing through sshfs.

Reason being, someone mentioned that sshfs did not have the lock operation implemented, only flush and fsync.

Is this true to this day?

If so, could you implement it?

https://news.ycombinator.com/item?id=26819606 https://www.fossil-scm.org/forum/forumpost/8749496886

Thanks.