-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16/03/12 22:50, Arnav Aggarwal wrote: > I don't have any choice of using a different filesystem..
I'd suggest you write your own VFS then. You can choose exactly how locking is done. It isn't that much work and you can map to the exact semantics of the filesystem rather than pretending it is unix which it evidently isn't. > In such a scenario, can I safely delete the lock file and journal file > (if size 0) ? Depends on why they are size zero. If your crummy filesystem doesn't implement barriers correctly then it is quite possible that they shouldn't be zero length. (I'm assuming your want your database to survive unexpected power failures) Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk9kLV0ACgkQmOOfHg372QSzjwCfUQmZkUozJxUoq3lPL+3tmfhv CeoAn1qBc3UI/UVSUK9ERiC2PwR/0DY/ =m9TS -----END PGP SIGNATURE----- _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

