max_ec value is shown as 1

Sandeep Kumar sandeepksinha at gmail.com
Thu Jan 11 05:44:01 EST 2007


Hi all,
I was recently trying to create a volume on a UBI device and i could
not understand the following.

[root at localhost ubi]# cat /proc/mtd

dev:    size   erasesize  name
mtd0: 02000000 00020000 "mtdram test device"
mtd1: 04000000 00004000 "NAND simulator partition"

[root at localhost 0]# modprobe ubi mtd=0
[root at localhost ubi]# ls /sys/class/ubi
ubi0  version

[root at localhost ubi]#ubimkvol 0 1024 2MB dynamic vol0 ubi0


[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.

-- 
Regards,
Sandeep





 	
If the facts don't fit the theory, change the facts.




More information about the linux-mtd mailing list