[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110726173822.24068.qmail@web4211.mail.ogk.yahoo.co.jp>
Date: Wed, 27 Jul 2011 02:38:19 +0900 (JST)
From: Round Robinjp <roundrobinjp@...oo.co.jp>
To: Ted Ts'o <tytso@....edu>
Cc: linux-ext4@...r.kernel.org
Subject: Re: flashing large eMMC partitions with ext4
> I'm guessing the problem is you've already created a file system image
> which is 4G, and for which a large number of the blocks are not used,
> and you're trying to optimize the amount of time it takes to flash the
> image. Is that right?
Yes, exactly.
> The way to do that is to use a program like zerofree.c (google it, or
> see attached) to make sure the non-used blocks are zero-filled, and
> then use a program like make-sparse.c (see the e2fsprogs sources, in
> the contrib directory) to only write the non-zero blocks to the flash
> device.
I see.
The flash will then contain _random_ data in the non-used blocks.
That is not a problem, right?
One more thing.
Although I have very small amount of files in my 4G image,
I see that the image has almost no zero-filled blocks.
Is that normal for ext4?
Can zerofree.c recognize them as non-used blocks?
Many thanks to those who replied.
Round
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists