[Ubifs] Reboot -> "recovery needed"?

Gilles gilles.ganault at free.fr
Tue Jun 28 07:50:55 EDT 2011


On Tue, 28 Jun 2011 14:38:04 +0300, Artem Bityutskiy
<dedekind1 at gmail.com> wrote:
>I think it is not that simple - if there is any file open for writing -
>remount will fail with EBUSY. So you'd first need to shut down apps,
>then do that. You should probably refer standard boot scripts to see
>what they do.
>
>On the other hand, as long as your reboot command runs sync, it is
>harmless to not unmount UBIFS.

It looks like it does:

There a several files returned when searching with "reboot*", but it
looks like /usr/src/uClinux-dist-2010R1-RC5/user/sysutils/reboot.c is
the one:

http://blackfin.uclinux.org/gf/project/uclinux-dist/scmsvn/?action=browse&path=%2Ftrunk%2Fuser%2Fsysutils%2Freboot.c&view=markup




More information about the linux-mtd mailing list