detecting that ubifs switched to ro after problem

Jon Ringle jon at ringle.org
Fri Jun 11 22:46:43 EDT 2010


Hi,

I'd like to be able to somehow detect that ubifs has taken the action
of switching from rw to ro due to some error detected in the ubifs
filesystem. If I can detect this then maybe I can do something about
it, such as copying the ubifs contents to a .tar.bz2 in /tmp,
mkfs.ubifs, and restore .tar.bz2 back again.

Is there a way I can do this?

Thanks,
Jon



More information about the linux-mtd mailing list