This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: JFFS2 (Again!!)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]