max_ec value is shown as 1

Artem Bityutskiy dedekind at infradead.org
Thu Jan 11 05:49:41 EST 2007


Hello Sandeep,

On Thu, 2007-01-11 at 10:44 +0000, Sandeep Kumar wrote:
> [root at localhost ubi]#cd /sys/class/ubi/ubi0/
> [root at localhost ubi0]# cat max_ec
> 1
> 
> Well, Can anyone help me in determining that why the max_ec is shown as 1.

What did you expect instead?

You fed empty flash to UBI, UBI erased each eraseblock once and put
erase counter header to each eraseblock, with erase counter = 1, because
there was one erase.

And max_ec which means maximum erase counter value is 1.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)





More information about the linux-mtd mailing list