diff options
author | Brian Norris <computersforpeace@gmail.com> | 2011-06-03 11:25:00 -0700 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-06-06 14:09:33 +0300 |
commit | 5dfb5a6adc731120e0c0bde63e0b8ee1b3922888 (patch) | |
tree | 02a16e8b1bd9a5708e9a1108c4464d4a0e4bd9e8 /compr.c | |
parent | 4f3c679db7415b4b0321848a4734abcec30dd9d8 (diff) |
nanddump: add --skipbad option for bad blocks
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@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'compr.c')
0 files changed, 0 insertions, 0 deletions