lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 4 Aug 2011 00:15:41 +0900 (JST)
From:	Round Robinjp <roundrobinjp@...oo.co.jp>
To:	Ted Ts'o <tytso@....edu>
Cc:	Amir Goldstein <amir73il@...il.com>,
	Dilger Andreas <aedilger@...il.com>,
	"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>
Subject: Re: flashing large eMMC partitions with ext4

> This is one of the reasons why I originally suggested using zero_free
> and make_sparse to write the file system image.  It's a much, much,
> MUCH simpler way of handling things, and it doesn't require resizing
> the file system image, using truncate (and making sure you truncate to
> the right size, etc.).
> 
> With the method Amir talked about, it matters whether or not the file
> system is mounted when you use resize2fs, whether you have the latest
> resize patches, etc., etc.

I am glad that I have several options in my list, and in fact
I have not yet excluded any of them. All methods have pros
and cons and I am trying to understand them.

In our environment, it is acceptable to do complicated things
at the stage of creating image. But it is strongly undesirable
to do any post processing at the time of mass production.
Although it is not impossible to add post processing, the problem
is it will require extra booting of each device at the factory.

Had it not been the case, the
"resize2fs -M a.img" + "resize2fs on the device"
would have been the ideal solution.

The reason I am trying Amir's method first is that it "may"
give me a zero-post-processing way. Also it does not require
our legacy mass production flash writer to be changed.

zero_free way is indeed simpler and does not require post
processing. The only problem is that we need to change to
a flash writer which supports writing from a sparse file.

Many thanks for taking interest.
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