Re: [PATCH] ubi: add volume id and LEB number to struct ubi_scan_leb
From: Artem Bityutskiy
Date: Wed May 16 2012 - 10:45:54 EST
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
Attachment:
signature.asc
Description: This is a digitally signed message part