On Wed, Aug 6, 2014 at 8:10 AM, Baruch Burstein <[email protected]> wrote:
> On Wed, Aug 6, 2014 at 2:47 PM, Richard Hipp <[email protected]> wrote: > >> >> On Wed, Aug 6, 2014 at 2:11 AM, Baruch Burstein <[email protected]> >> wrote: >> >>> >>> To the best of my knowledge, Dropbox is not a "virtual" filesystem. It >>> is a regular folder in the regular filesystem that is managed by the OS. >>> The only "special" thing about it is that Dropbox registers with the OS to >>> be notified of changes to this folder, and then syncs these changes, using >>> regular file read/write mechanisms supplied by the filesystem/OS. >>> >>> >> If some other process (like Dropbox) writes to an SQLite database file, >> or to an SQLite journal file, while SQLite is also using that file, that >> can lead to severe problems. I think that is the point. >> > > Doesn't the OS prevent 2 process from writing to the same file > simultaneously? > > Advisory locks are used. So cooperating programs know to not have two programs writing at once. But Dropbox is not a cooperating program in this context. Dropbox just opens the file and writes, without paying any attention to the advisory locks. -- D. Richard Hipp [email protected]
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

