]> www.infradead.org Git - mtd-utils.git/commit
nandwrite: Add --skip-bad-blocks-to-start option
authorMike Crowe <mac@mcrowe.com>
Tue, 17 Jan 2017 11:54:03 +0000 (11:54 +0000)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Wed, 18 Jan 2017 13:42:10 +0000 (14:42 +0100)
commit2fc8058291e07f6ec143179db377a7d53f6dfa04
tree21e16ebac66bc7df3b99f746c95a176b15703b99
parent6df83fd628ece2a44da325951bbfc5c33e3c6866
nandwrite: Add --skip-bad-blocks-to-start option

The --skip-bad-blocks-to-start option will increase the seek offset by the
size of each bad block encountered between the start of the partition and
the specified start address.

This can be useful when writing part way through a partition that will be
read using a simple bad-block-skipping algorithm.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
nand-utils/nandwrite.c