[ECOS] Re: Simple flash filesystem?

Grant Edwards grante@visi.com
Tue Feb 6 13:03:00 GMT 2001


Lewin A.R.W. Edwards writes:

> >way too big/complex when my filesystem isn't going to be more than a few
> >hundred KBytes and will be rarely written to.  For now, I'm going to try
> 
> Aha!! Do you have a "few hundred KBytes" of free RAM?

I should.

> You could get the best of all possible worlds by loading the FS into RAM, 
> and allowing random R/W as convenient, then committing the entire thing 
> back to flash when your device is idle.

Yup.

That's probably the simplest solution for a small filesystem.  Burns can
happen in the background without interrupting read access to the RAM
version of the files.

Of course once marketing gets hold of the web pages, I may end up with
several megabytes of real-audio and dancing GIFs.  Then half of my
assumptions go out the window.  :)

-- 
Grant Edwards
grante@visi.com


More information about the Ecos-discuss mailing list