Hi
Your action is so quickly! I have recieved your mail yesterday, and try
it, and have a same problem as you said. But I'm a new bie, maybe I can do
nothing for you. I just be very happy to receive first mail from this mail
list since 2 week ago.
I will read the source code this weekend, I hope i can do something for
us. Good Lucky!
I have found some problem before:
********************************
When i first put the yaffs in my uClinux-dist-20030909, I found something
error in the defining of yaffsObjectHeader
typedef struct
{
yaffs_ObjectType type;
int parentObjectId;
__u16 sum__NoLongerUsed;
char name[YAFFS_MAX_NAME_LENGTH + 1];
__u32 st_mode;
...
Because of byte align, a 2 bytes hole was inserted before st_mode when
kernel make. but there are no problem in user application.
I have change it in my code, add two bytes space after sum_NoLongerUsed.
and everything is ok.
*******************************
Another problem is in yaffs tools, there are many problem when make image
file, and I have change it.
Are these really bugs? Did you found and how to handle them?
> Hi, All,
> We checked the source codes of YAFFS and found that problem: The
> unlink of regular file is different from special file(including socket,
> device and directory). When unlinked, YAFFS delete special file from YAFFS
> object hash table, but the inode->i_count remains unchanged. We think that
> yaffs should not delete the special file when the inode->i_count is not 0,
> because deleting from hash table means freeing YAFFS object. Currently we
> avoid this by mount any directories which will create special file and
> immediately unlink in tmpfs.
>
> We think this bug(if this is a bug) is easy to fix. Anyone would do, or
> we do it?
>
> Regards,
> Russell Greece , Timmy Lee
>
> ----- Original Message -----
> From: <guo@unication.com.cn>
> To: <yaffs@toby-churchill.org>
> Sent: Thursday, December 04, 2003 2:28 PM
> Subject: maybe I found a bug?
>
> > this email is a copy of my last one, the program is
> > attached.ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
> >ÿÓ+&j)b b²Ø¬-yÖòNò?«r¥^Ê·«{ü0Ãûho/ÜêÜ)eþàÿò¨¥x%ËfzfÞ®Èb¦+'¢Z
> >'êðj{^w*.q©ëzj/{*.®Ç¥}úèØ^+-o+ا©Þ¨¥¶}ûÿê®zËÿ¶òýÈnÈb_è®"¶?az×±
> >·û§²æìr¸{ÿðØhºÛaz«¨µëÿjËazËç-
---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (
www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by
sending an email to
yaffs-request@toby-churchill.org with the text "unsubscribe"
(without the quotes) as the subject.