dedekind1 at gmail.com
Fri Mar 9 08:39:26 EST 2012
On Thu, 2012-03-08 at 06:09 +0100, Ricard Wanderlof wrote:
> On Wed, 7 Mar 2012, Artem Bityutskiy wrote:
> > On Wed, 2012-03-07 at 17:26 +0100, Ricard Wanderlof wrote:
> >> Is it possible to get mkfs.ubifs to create an image without specifying the
> >> max-leb-count ? I.e. just to create an image that is as big as it has to
> >> be.
> > Has to be? :-) Not sure how to find this out. Basically the idea was
> > that you know how big is has to be and translate that to
> > --max-leb-count.
> I think what I'm thinking about is that in the specialized case of ubifs
> used for a read-only file system, such as a root file system (without
> /etc, /var, and so on), it would be possible for mkfs.ubifs to create a
> file system, and use as many LEBs as it needs for the actual data. On a
> read-only file system there doesn't even have to be a journal, although I
> don't know if that is possible.
Well, I'd accept a patch which added a --optimize-for-ro option which
would prepare a file-system with the smallest journal size.
More information about the linux-mtd