[PATCH 0/2] Support skipping a certain number of good blocks
David Oberhollenzer
david.oberhollenzer at sigma-star.at
Wed Dec 7 00:53:49 PST 2016
Since both tools already have a --start[address] option to specify an offset,
wouldn't it make more sense for your case to add a flag that this offset should
not include bad blocks? IMO this would remove the ambiguity of having two
different offset options.
For both tools, instead of skipping bad blocks on the fly, it would IMO be cleaner
if you could add a simple check that iterates over the erase blocks ahead of time
and adjusts the offset if a block is bad. Then you wouldn't have to change the
later checks or add additional clutches to the already cluttered read/write loop.
David
More information about the linux-mtd
mailing list