[PATCH] Add quick erase format option

Stefani Seibold stefani at seibold.net
Thu Sep 2 02:53:12 EDT 2010


Am Mittwoch, den 01.09.2010, 03:47 +0300 schrieb Artem Bityutskiy:
> Stefani,
> 
> you have strong points, but I'm still not entirely convinced.
> 
> On Tue, 2010-08-31 at 08:42 +0200, Stefani Seibold wrote:
> > > I would like to change the option name so that it would reflect the
> > > exact use-case we are creating it for: wiped out flash. So I'd be
> > > happier with something like --pristine-flash.
> > 
> > "Pristine" is not a word which non native speaker have in its
> > vocabulary.
> 
> Agree, not very simple word, when I met it in JFFS2 sources, I looked it
> up in the dictionary :-)
> 

> Also, your use-case is new/virgin/pristine/whatever NOR chips, which are
> guaranteed to be erased, and I wanted to use option name which reflects
> your use-case.
> 
> How about:
> 
> --virgin
> --factory
> --brand-new
> --all-erased
> 
> Or  :-)

--do-not-use-me is the best. But more seriously i think we should it
split it into two options. --all-erased and --check-erased. The first
assumes that all PEB are erased, while the second do the check if the
PEB is erased and if not it will be erased.

So we can handle NAND's, which have a fast erase, and NOR's  which are
very slow. With this we are able to pick the best option for the
manufacturing.

- Stefani





More information about the linux-mtd mailing list