From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Grant Edwards" To: "Lewin A.R.W. Edwards" Cc: ecos-discuss@sources.redhat.com Subject: [ECOS] Re: Simple flash filesystem? Date: Tue, 06 Feb 2001 13:03:00 -0000 Message-id: <20010206210322.BF3EE7A814@visi.com> References: <3A805EF4.3D21C830@tevero.no> <981465384.28425.ezmlm@sources.redhat.com> <4.3.2.7.2.20010206154319.00b19870@larwe.com> X-SW-Source: 2001-02/msg00085.html 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