[ECOS] Re: JFFS2 (Again!!)

Andrew Lunn andrew@lunn.ch
Fri Feb 25 09:50:00 GMT 2005


On Fri, Feb 25, 2005 at 09:51:46AM +0100, knud.woehler@microplex.de wrote:
> Hi
> 
> we had the same problem. It appeared if we open an existing file for 
> writing (truncate) and close it without writing data to the file. In 
> this case the filesystem is currupted. We handled the problem while we 
> erase the file before open it for writing.
> 
> unlink(filename);
> fopen(filename, "w");

Could you produce a test case which demonstrates this problem?  We can
then attempt to find the bug and solve it.

        Thanks
                Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list