SQLite Forum

Can I detect if the disk supports WAL mode?
Login
Thanks, I will take a look at the tests.


> Cross-process memory access is the antithesis of containerisation.

True, but containers kind of work like firewalls where you whitelist any files so the guest can read/write to the host.

https://sqlite.org/wal.html says:

> The wal-index is implemented using an ordinary file that is mmapped for robustness

So I guess `mmapped` files only work on the same OS.

Linux host and Linux guest seems to work (same Linux kernel instance), but a non-Linux host always results in a corrupt DB (Linux kernel runs in a VM).