[Yaffs-archive] Re: help

Sam Mason mason@f2s.com
Thu, 24 Apr 2003 10:06:53 +0100


Charles Manning wrote:
>On Tuesday 22 April 2003 21:18, liuke wrote:
>> 	Would you tell me how yaffs and jffs(2) realize their jounals?   Just
>> simply by copying pages or nodes? Are there journal files on disk?
>
>Basically, what journaling means in this context is that we update files by 
>writing "patch records" to NAND. THus, we never change the file structure so 
>the file can never be in a state which is unrecoverable.

I hope I've got this correct; these file systems are, loosely, based
on an older file system called the "Log Structured File System".  The
LFS was designed in the early '90s, in an effort to speed "both file
writing and crash recovery".  Obviously the reasons for using the
technology here are different, but the basic method employed is
similar.  You can get to the original, very readable, research paper,
here:

  http://citeseer.nj.nec.com/rosenblum91design.html

Hope that helps,
  Sam

---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by 
sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" 
(without the quotes) as the subject.