Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: File System on NAND Flash: problem with file consistency
PostPosted: Tue Jul 22, 2008 12:36 pm 
Offline

Joined: Mon May 21, 2007 5:41 pm
Posts: 7
Hello,
I use a platform with an AT91SAM9263 and a NAND flash to store data.
The OS is Linux v2.6.24
I mount a YAFFS file system on one partition of the NAND flash.
I can create directories and files.
I can change a file (a text file for example) and if i read the file, i can check that the modifications are taken into account
The problem is when i reboot the platform, is I read the same file, i have the original file, and not the modification.
If I use the "sync" command each time I change a file, the result is the same.

If I delete the file and I recreate it, after a reboot, I can see, in the same directory, two files with the same name !!
Do you know how to avoid this problem and to have a clean file system ?

Thanks for your help
Paspe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: