UBI fastmap torture script

Richard Weinberger richard at nod.at
Mon Jun 18 12:29:24 EDT 2012


Hi!

If you want to test UBI fastmap you can use my torture.sh script.
Please adjust it to your needs (N, MTD device, UBI device, volume size).
WARNING: It erases the MTD device!

paranoia.diff is also very useful to catch errors.
It turns all ubi_asserts() into BUG() and adds an extra self check to detect
duplicated PEBs.
Also bit flip emulation and all other UBI self-checks are enabled by default.

Have fun!
//richard


-------------- next part --------------
A non-text attachment was scrubbed...
Name: torture.sh
Type: application/x-shellscript
Size: 1828 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120618/ec3a19f5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paranoia.diff
Type: text/x-patch
Size: 3169 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120618/ec3a19f5/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120618/ec3a19f5/attachment.sig>


More information about the linux-mtd mailing list