Re: flashing large eMMC partitions with ext4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux