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

Nick Bane nick@cecomputing.co.uk
Mon, 29 Mar 2004 17:40:11 +0100


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=3D1 (note suffix of =3D1) or it gets =
confusingly skipped.

HTH

Nick

----- Original Message -----=20
From: "david.ding" <david.ding@fangtek.com.cn>
To: <yaffs@toby-churchill.org>
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 yaffs-request@toby-churchill.org with the text "unsubscribe" 
(without the quotes) as the subject.