I'm not sure we agreed on the latter, but yes, the main file system should be entirely in flash, not using the RAM.magicdanw wrote:I'm kind of interested in the file system implementation. In Vera, will there only be a filesystem in flash memory, and all ram will considered volatile? Or will there also be a ram filesystem?
That would be totally awesomeI found this website, where someone describes a simple filesystem he/she wrote for a small computer (z80, in fact!) I could write a filesystem based on his/her specs, with modifications agreed upon by the Vera team.
Yes, but that's still probably the best way to do it. You don't want to erase the flash every time you need to save a new file. However; TI-OS garbage collect goes through the entire flash, if I'm not mistaken, and we could choose to garbage collect only one page "on the fly" when it is needed. That should make it responsive enough I hope?We can have a bit that marks a file valid or invalid, and when the file has to be re-saved with changes, we mark the original invalid, and write the new valid one below the files on whatever sector it fits in, and update pointers. Sector cycling only needs to happen when we run out of space on all the sectors and want to get rid of the invalid entries. Wait...darn, that's garbage collection.
I'm all for directories, and I think most people were.Update Two: Hmm, I took another look at the filesystem driver page on the wiki. There are no specs for directories! Are we really going to make a filesystem a la TIOS, without directories? They're so useful!
Could you give me your e-mail address? PM it to me or something, I'll add you to the mailinglist. We don't check the wiki all that oftenYou know, I think you'd better give me an account or add me to the mailing list, however I can communicate with team members. There are some things I want to talk about with the team!
Edit: Did I mention how great it is to see some outside interest in our project yet? I really appreciate you wanting to help us out with actual code on an actually useful part of the system