LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Overwriting CRAMFS image while it is mounted (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/overwriting-cramfs-image-while-it-is-mounted-843229/)

Markus Franke 11-09-2010 08:43 AM

Overwriting CRAMFS image while it is mounted
 
Dear all,

I am on a ARM9-based embedded linux system (kernel 2.6.22). My application is stored as a CRAMFS image on a NOR-flash partition. During system bootup this image get's mounted with the help of the loopback device and after that the application get's started.

Now I would like to be able to update the application during runtime. Is it generally safe to overwrite the CRAMFS-image while it is mounted?

Best regards and thanks for help,
Markus

salasi 11-10-2010 12:12 PM

Quote:

Originally Posted by Markus Franke (Post 4153651)
Now I would like to be able to update the application during runtime. Is it generally safe to overwrite the CRAMFS-image while it is mounted?

I don't know, but I wouldn't have thought so. Have a look at this and this for some general background.


All times are GMT -5. The time now is 07:11 AM.