[PATCH 1/2] nanddump: add --skipbad option for bad blocks
Artem Bityutskiy
dedekind1 at gmail.com
Mon Jun 6 07:01:50 EDT 2011
On Fri, 2011-06-03 at 11:25 -0700, Brian Norris wrote:
> This patch adds a new option "--skipbad" to nanddump. It is subtly
> different than "--omitbad". The following description was included in
> the help message to attempt to clarify the differences.
>
> Notes on --omitbad and --skipbad:
> With either option, we stop dumping data when we encounter a bad block
> and resume dumping at the next good block. However, with --omitbad, we
> count the bad block as part of the total dump length, whereas with
> --skipbad, the bad block is 'skipped,' that is, not counted toward the
> total dump length.
>
> Signed-off-by: Brian Norris <computersforpeace at gmail.com>
Pushed both to mtd-utils.git, thank you!
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list