On Wednesday 06 April 2011 10:06:58 Charles Manning wrote: > On Wednesday 06 April 2011 09:41:44 HuangAlex wrote: > > Hi all, > > I have a question about sequence number. I am wondering is there possible > > that a file have two non-continuous sequence numbers without an object > > header in the middle? The only way to meet this requirement I can think > > is that I open and write two or more files at the same time. Is that > > possible for yaffs2?Thank you all. Alex > > The sequence number is tied to the block and not to the file. > > There are at least ways to get non-continuous sequence numbers in a file: > 1) Open two files for write and interleave writes. > 2) Garbage collection writes. 3) Open one file for write, but make write patterns that cause cached data to be written out later than other data.