public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* shrinking ubifs?
@ 2010-01-14 22:15 Jon Ringle
  2010-01-17 10:40 ` Artem Bityutskiy
  0 siblings, 1 reply; 8+ messages in thread
From: Jon Ringle @ 2010-01-14 22:15 UTC (permalink / raw)
  To: linux-mtd

On ubi0, I have 3 volumes:
ubi0_0 kernel (static volume)
ubi0_1 squashfs (static volume)
ubi0_2 ubifs (dynamic volume)

When I create the volumes, the static volumes are created first and
then the ubifs volume is created with whatever LEBs are left over. I
am using the squashfs and ubifs in a aufs2 union fs. When I need to
reflash either of the static volumes for an upgrade, and the new
images don't fit the space available in the LEBs reserved in the
corresponding static volume, I remove the ubifs volume to create space
and then recreate the ubifs volume again with what is remaining. This
is sub-optimal as this means that and data on the ubifs is now lost.

Is there a way to shrink a UBIFS if there are unused LEBs in the UBIFS?

Thanks
Jon

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

end of thread, other threads:[~2010-02-01  4:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-14 22:15 shrinking ubifs? Jon Ringle
2010-01-17 10:40 ` Artem Bityutskiy
2010-01-22 19:21   ` Jon Ringle
2010-01-27 16:25     ` Artem Bityutskiy
2010-01-27 16:34       ` Jon Ringle
2010-01-27 16:35         ` Artem Bityutskiy
2010-02-01  4:01           ` Jon Ringle
2010-02-01  4:30             ` Artem Bityutskiy

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