[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Major JFFS2 bug (?)

On Mon, 14 May 2001, Vipin Malik wrote:
> Any opinion on the lack of file *data* reliability in JFFS2 while
> overwriting an existing file vs file *system* reliability, which is
> guranteed by JFFS2, in the case of a power fail during write()?

If you write data into a file, the data either gets written or it doesn't,
in JFFS1 at least. If you have a file of 1kb in length, and append another
kb to it, either that kb (or a smaller amount) gets written or it doesn't,
and in any case it does not affect the first kilobyte. You don't corrupt
data which the operation does not touch even if the operation crashes.

Same thing with replacements, although it's less than useful then to know
that some bytes might have gotten replaced and some others might not.


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com