Block numbers of BEB

Woody Wu narkewoody at gmail.com
Sun Oct 5 08:49:08 PDT 2014


What I said of checking /proc is wrong. What I indeed checked was /sys/class/ubi as you mentioned. The problem is, under the /sys/class/ubi, there is no information about what blocks are marked as bad, there is only information about the total number of bad blocks.


On October 5, 2014 10:41:50 PM GMT+07:00, Richard Weinberger <richard.weinberger at gmail.com> wrote:
>On Sun, Oct 5, 2014 at 8:04 AM, Woody Wu <narkewoody at gmail.com> wrote:
>> Hi,
>>
>> I can see how many bad erase blocks it had developed from the /proc
>directory, but where can I get know what block numbers these bad blocks
>on?
>>
>> Any hint from you will be appreciated.
>
>In case you're using UBI please see /sys/class/ubi/ubi0/

-- 
sent from mobile



More information about the linux-mtd mailing list