[Yaffs] [Yaffs-archive] Re: About deleting file

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nick Bane
Date:  
To: david.ding, yaffs
Subject: [Yaffs] [Yaffs-archive] Re: About deleting file
I have seen this a few times in the past.

In my case I was deleting files using yaffs from bootldr which decided that certain blocks were unusable so it skipped them. On booting, the blocks became visible with old contents. I tracked this down to incompatible ecc silliness and a #define that should have probably been an #ifdef but instead was an #if CONFIG_YAFFS_ECC_WRONG_ORDER (Charles check yaffs_ecc.c). In my kernel Makefile I take care to define it as -DCONFIG_YAFFS_ECC_WRONG_ORDER=1 (note suffix of =1) or it gets confusingly skipped.

HTH

Nick

----- Original Message -----
From: "david.ding" <>
To: <>
Sent: Monday, March 29, 2004 10:47 AM
Subject: About deleting file


> Sometimes i deleted some file in arm ,and this file appear when i reset the board.why?
>



---------------------------------------------------------------------------------------
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 with the text "unsubscribe"
(without the quotes) as the subject.