UBIFS recovery truncates file to zero size

Brijesh Singh brij.singh at samsung.com
Wed Mar 11 05:51:08 EDT 2009


On Wed, Mar 11, 2009 at 2:46 PM, Iram Shahzad
<iram.shahzad at jp.fujitsu.com> wrote:
> Hi
> I am having the following problem with UBIFS (Linux 2.6.25 + ubifs-v2.6.25).
> Please could you tell me if this is a known issue.
> Problem
>   If the power is switched off abruptly while a file is being written,
>   in the next boot the contents of the file is lost. That is, the file
>   becomes zero sized. The problem is reproducable.

May be because of write-back support.  Try disabling it.mount with sync option.

For details:

More information about the linux-mtd mailing list