public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Updating UBIFS rootfilesystem
@ 2012-02-08 12:44 Matthias Fuchs
  2012-02-13 13:57 ` Artem Bityutskiy
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias Fuchs @ 2012-02-08 12:44 UTC (permalink / raw)
  To: linux-mtd@lists.infradead.org

Hi,

is there an elegant way to update an UBIFS rootfilesystem?

Let's say I have enough flash space for my actual rootfilesystem
(rootfs1) and a new version (rootfs2). So while running from rootfs1
I updated rootfs2 volume with a new rootfilesystem.

Now my idea was to use ubirename to exchange the volume names so that
after next reboot rootfs1 'points' to the new filesystem and rootfs2
contains the old one (ready for deletion or further updates).

As expected ubirename reports "Device or resource busy" probably because
it cannot rename mounted volumes. Of course I could tell my bootloader
to mount rootfs2 after a reboot. But isn't there a more elegant way?
ubirename really looks like the right way ....

Any ideas?

Matthias

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-03-09  7:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-08 12:44 Updating UBIFS rootfilesystem Matthias Fuchs
2012-02-13 13:57 ` Artem Bityutskiy
2012-02-24  8:14   ` Matthias Fuchs
2012-02-24  9:47     ` Ricard Wanderlof
2012-03-09  7:53       ` Artem Bityutskiy
2012-02-24  8:16   ` Matthias Fuchs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox