jffs2 root fs: how to overwrite it?
kylo.ginsberg at gmail.com
Wed Jun 22 16:39:09 EDT 2005
I have a jffs2 root file system. As part of the user upgrade process,
running from linux, I need to blow the root fs away and replace it
with a new version. One solution is to reserve a second piece of
flash for this purpose, copy it there on user request and instruct
u-boot to handle the copy, but I'd like not to waste the flash space.
Ideally, I'd have an inittab shutdown script umount root (if this is
possible) and copy an image from mem -> flash before rebooting. Or
something of that sort.
How else do people accomplish this? Thanks for your comments.
More information about the linux-mtd