Cheers charles.

I am going through the yaffs code from git now so that is making more sense.



On Tue, Jun 28, 2011 at 10:36 AM, Charles Manning <manningc2@actrix.gen.nz> wrote:
On Monday 27 June 2011 15:32:52 Peter Pilley wrote:
> Everyone on List
>
> What are the differences between
>
> __u8 deleted: 1;              // This should only apply to unlinked files.
> __u8 softDeleted: 1;  // it has also been soft deleted

This is described in HowYaffsWorks.pdf.
Soft deletion is only used in yaffs1 mode.

>
>
> These have been described in yaffs_guts.h
>
>
> would there values only possibly be 0x01 or 0x00?

Yes, that is what C bitfields mean.
http://en.wikipedia.org/wiki/Bit_field

>
> yaffs_guts suggests they appear in the oob area but I cannot see
> anything like this however I am still trying to identify what flags
> say it is a live file or data_chunk

They are not in the oob area. What makes you say that this is suggested?

-- Charles