This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Simple flash filesystem?



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]