I want a simple filesystem in pure C (no FUSE, or anything).
It needs directories, and files that can grow.
Specs of embedded system I want to use it on:
128KB of flash
64KB of RAM
RTOS available for threading, queues, and fixed-size memory allocation
No malloc
available.
Note: using a simple
read()
andwrite()
interface would be nice, rather than direct buffer acces... this would make porting to my board easier.Note 2: I am looking for a library, not to make a filesystem.
FAT12
is a tiny file system with directories and growable files. Try looking for it's implementation inC
. The data-reading part should be included in every boot loader