But how about the change of chunkid? Chunk id along whith byte count give the location of the chunk inside the object. Does chunkid return to 0 when it reach the max number in a block? I saw in the yaffs header it have 32bits so how it changes in block? Thank you. Regards Alex > Subject: Re: [Yaffs] Question about metadata > From: brobertson@aminocom.com > To: by_pacific@hotmail.com > Date: Tue, 25 Jan 2011 08:50:07 +0000 > > Hi Alex, > > >From the document HowYaffsWorks: > > ¡ñ Sequence Number: As each block is allocated, the file system's > sequence number is incremented and each chunk > in the block is marked with that sequence number. The sequence number > thus provides a way of organising the log > in chronological order. > > So it looks like the SequenceNumber may help with what you want to do. > > Regards > > Brian. > > > On Tue, 2011-01-25 at 11:23 +0800, »Æ°ØÒ» wrote: > > Hi all, > > > > I have a basic question. As we know the Chunkid will start from 0 to > > the max number of chunks in one block. And it will contiune from 0 to > > the next block. So how we can distinguish these different chunks in > > different block? Do we have a kind of "blockid" in yaffs? I did not > > see that in yaffs header. What kind of method can help doing the > > allocation ? Another question, i still do not know the function of > > sequence number. Thank you guys. > > > > Alex > > _______________________________________________ > > yaffs mailing list > > yaffs@lists.aleph1.co.uk > > http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs >