How to update UBIFS while running an application ?

Manuel Sahm Manuel.Sahm at feig.de
Fri Apr 3 08:53:46 EDT 2009


Hello,
 
I have 3 UBIFS mounted - one is the RFS, another one is mounted in
/mnt/ubi1/ and the last one is mounted in /mnt/ubi2/
My main application is in /mnt/ubi1/ and is running.
 
How could I update the actual ubifs ubi0_0, ubi1_0 and ubi2_0 ?
 
I tried ist with 
1.) flash_eraseall
2.) nandwrite
---> This doesn´t work -> after restart I got errors -> RFS is damaged
and doesn´t boot anymore
 
another try:
1.) ubiupdatevol
-----> the problem - this program doesn´t work if the ubifs is mounted
- but I can´t unmount /mnt/ubi1 or /mnt/ubi2 or the RFS because there
are applications running.
 
 
So what can I do to solve this problem ?
 
Thank you



More information about the linux-mtd mailing list