Quote:
Originally Posted by tiad8
Test 1
I was able to add more mb to my data.img (500), when creating new data.img.
Test 2
I created a fat32(android stuff) and ext2 partition (data.img). But when creating the new data.img. the data.img is in the sd card not in the ext2.
I will play more with this tomorrow. But everything is working according plan.
Thanks
FROYO X RED, BLAZN 2.2.2, GINGERBREAD 2,3,2, SENSE FROYO 2.2/SPRINT TOUCH PRO 2/RHOD400
|
I think you are getting the terms mixed up. You can partition the SD card to have ext2 partitions which the init script is set up to recognize. If it finds the right partition layout, it will natively write to the sd card rather than creating a data.img.
If you don't partition the sd card and just leave it formatted as FAT32, the data.img by default is in ext2 as you can see from the code:
init - eclair-rootfs in XDANDROID Eclair - Gitorious
If you want it to actually say data.ext2, you can just change the extension and update the if statement to check for data.ext2 instead of data.img, but it won't affect performance or change the way it works.
Thanks for bringing this thread back up too. I almost forgot to get it updated! Maybe I'll have some free time tomorrow when I get home from work