Re: [Yaffs] Question about sequence number

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] Question about sequence number
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.

-- CHarles