Open source embedded filesystem (or single file virtual filesystem, or structured storage) library f

Posted by Ioan on Stack Overflow See other posts from Stack Overflow or by Ioan
Published on 2010-02-25T19:06:31Z Indexed on 2010/03/20 14:11 UTC
Read the original article Hit count: 812

I'm not sure what the "general" name of something like this might be. I'm looking for a library that gives me a file format to store different types of binary data in an expanding single file.

  • open source, non-GPL (LGPL ok)
  • C interface
  • the file format is a single file
  • multiple files within using a POSIX-like file API (or multiple "blobs" within using some other API)
  • file/structure editing is done in-place
  • reliable first, performant second

Examples include:

Problems with the above:

  • whefs doesn't appear to be very mature, but best describes what I'm after
  • HDF, CDF, NetCDF are usable (also very reliable and fast), but they're rather complicated and I'm not entirely convinced of their support for opaque binary "blobs"

Edit:
Forgot to mention, one other relevant question:
http://stackoverflow.com/questions/1361560/simple-virtual-filesystem-in-c-c
Another similar question:
http://stackoverflow.com/questions/374417/is-there-an-open-source-alternative-to-windows-compound-files

Edit:
Added condition of in-place editing.

© Stack Overflow or respective owner

Related posts about open-source

Related posts about c