aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2014-06-24 12:12:59 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2014-06-25 17:37:01 +0200
commitf17fbe1d365d935b486ece2172043d3eeb8a999b (patch)
tree32ee37903aac28548ff3cea97da046b95b6f0022 /procps
parentcbf3bfa57a419202c2bc26f3ff8ae21d3d3bf8b2 (diff)
downloadbusybox-f17fbe1d365d935b486ece2172043d3eeb8a999b.tar.gz
nanddump: add options --bb=skipbad and padbad
In mtd-utils, the bad block options changed in favor of --bb=[skipbad|padbad|dumpbad] and omitbad has been removed. This patch add the --bb=skipbad and padbad methods to busybox' nanddump. padbad is the current default behaviour. The difference between skipbad and omitbad is this one: On a 16K block NAND, if the 1st block of mtd0 is bad, we'll have: nanddump -b -l 16384 /dev/mtd0 | wc -c 0 nanddump --bb=skipbad -l 16384 /dev/mtd0 | wc -c 16384 <- data from 1st good block Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
0 files changed, 0 insertions, 0 deletions