On Mon, Apr 7, 2014 at 9:52 AM, Andrew Beal <ab...@whoi.edu> wrote: > Hey All, > > Does anyone have an example of a VFS for use with Chan FatFS or Petit > FatFS? > > Ref: http://elm-chan.org/fsw/ff/00index_e.html > > Just glaceing at the interface spec, it appears that Petit FatFS only allows a single file to be open at once. That isn't sufficient for SQLite (unless you specify PRAGMA journal_mode=OFF or journal_mode=MEMORY) so I don't think that will work for you. But an interface to Chan FatFS seems easily doable.
But have you considered using the "test_onefile.c" VFS ( http://www.sqlite.org/src/artifact/0396f220561f3b4e) that writes directly to persistent media, without any intervening filesystem? Would that VFS accomplish what you want? -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users