This is the mail archive of the ecos-bugs@sourceware.org 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]

[Bug 1001732] fs-ecos bug/assertion


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001732

--- Comment #4 from Bernd Edlinger <bernd.edlinger@hotmail.de> 2013-01-26 18:15:32 GMT ---
Hi Praveen,

somehow on my fs-ecos.c the line numbers are different than on yours.

But when I interpret it right what happens here, this might have happened:

The file system traverses a directory entry, and the metadata on the
flash are changed which points to an uninitialized inode.
When the invalid data are hit, the BUG is raised. Probably that should
have happened earlier...

IF your flash changes its contents when the file system is mounted,
the file system may fail. Especially if a flash is removed and
another flash inserted, you should unmount the file system when the
flash is removed, and re-mount the file system again, when the flash
is inserted again.

Once the file system has validated the flash content, the flash
should never be changed without the file system knowing that.


Regards,
Bernd.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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