Re: [Yaffs] Yaffs Objects

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