Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Grow UBI device?
@ 2013-10-08 19:28 Wolfgang Denk
  2013-10-09  7:28 ` Matthieu CASTET
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Wolfgang Denk @ 2013-10-08 19:28 UTC (permalink / raw)
  To: MTD Maling List

Hi,

I'm looking for a clever way to migrate devices (in the field) from
JFFS2 to UBI/UBIFS.  In the end result, I want to have single UBI
device (which covers the whole NAND chip) with several volumes used
with UBIFS.  Unfortunately I must keep some of the existing data.

It would be nice if I could start with a UBI device that is smaller
than the NAND, so I can keep an existing MTD partition with a JFFS2
file system. After copying the data from JFFS2 to a UBIFS volume, I
would like to free and reuse the space of this JFFS2 partition.

Is there a way to "grow" the existing UBI device so that it now also
covers the rest of the NAND chip?  Or is my only option to create a
second UBI device?

Thanks in advance.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Unix is like a toll road on which you have to stop every 50  feet  to
pay another nickel. But hey! You only feel 5 cents poorer each time.
                 - Larry Wall in <1992Aug13.192357.15731@netlabs.com>

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

end of thread, other threads:[~2013-10-15 18:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-08 19:28 Grow UBI device? Wolfgang Denk
2013-10-09  7:28 ` Matthieu CASTET
2013-10-09  8:46 ` Ricard Wanderlof
2013-10-09 11:28   ` Gupta, Pekon
2013-10-09 15:05     ` Wolfgang Denk
2013-10-09 15:45       ` Ricard Wanderlof
2013-10-09 18:47         ` Richard Weinberger
2013-10-09 20:01         ` Wolfgang Denk
2013-10-10  7:42     ` Artem Bityutskiy
2013-10-09 14:33   ` Wolfgang Denk
2013-10-10  8:17 ` Artem Bityutskiy
2013-10-10  8:34   ` Richard Weinberger
2013-10-15 17:40   ` Wolfgang Denk
2013-10-15 18:38     ` Richard Weinberger

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