smallest jffs2 file system possible
I would like to create the smallest jffs2 file system possible. We want to have a small separate mount point to store a small number (<5) of small text files (<1k each).
Empirically I've determined that this minimum size is effectively 5 * N, where N is the physical erase block size of the underlying flash part. Is this correct? Are there any workaround or patches to enable building a smaller file system? Is a different f/s recommended for such an application (must be r/w, don't care about compression particularly).
Thanks,
Kylo
Quoted 7 lines · Kylo Ginsberg
Empirically I've determined that this minimum size is effectively 5 * N, where N is the physical erase block size of the underlying flash part. Is this correct? Are there any workaround or patches to enable building a smaller file system? Is a different f/s recommended for such an application (must be r/w, don't care about compression particularly).
JFFS2 always reserves several blocks for GC. So I doubt you can create smaller FS without hacking.
Signature · 3 lines
Best Regards, Artem B. Bityuckiy, St.-Petersburg, Russia.