[PATCH] ubi: add volume id and LEB number to struct ubi_scan_leb

Artem Bityutskiy dedekind1 at gmail.com
Wed May 16 10:49:29 EDT 2012


On Wed, 2012-05-16 at 17:34 +0300, Artem Bityutskiy wrote:
> I've added this code to the joel branch. But please, test this and
> other
> UBI merge candidates with all the UBI debugging checks enabled as
> well.
> Similar to UBIFS. 

To do this:

1. Mount debugfs, in my Fedora it is already mounted:

sudo mount -t debugfs none /sys/kernel/debug/


Then:

$cd /sys/kernel/debug/ubi/ubi0
$sudo sh -c 'echo 1 > chk_gen'
$sudo sh -c 'echo 1 > chk_io'

This will enable "general" and "IO" extra self-checks for UBI device
"ubi0"

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120516/c21d1604/attachment-0001.sig>


More information about the linux-mtd mailing list