Cool, thanks for this superb piece of work. Would you mind if we use it in our ROM in place of our current a2sd script? BTW, what are the benefits of having an sd-cache partition - I haven't come across this before, so how is it best set up and is anything additional required to make use of it?
Use it as you like
I don't think there are any benefits to a seperate cacge partition on the sdcard. But the internal nand has a seperate partition for this, so I just added the option if people would like the same on the sdcard.
It works by adding a third partition to the cache. So to use it, make a cache partition after fat32 and sdext on the sdcard. Otherwise it uses /sd-ext/cache if no third partition exists or /data/cache if no sdext partition exists either (If you boot without sdcard for an example).
Thanks, and thanks for the reply. So I guess we'll just stick with a single sd-ext ext4 partition and a Swap partition. Can I PM you or chat anywhere re whether your script will require our existing ROM updater-script modifying in terms of how it is currently set up with symlinks etc?
I have an EU HD2 with very limited internal memory. At present I use an amended version of Amarullz' script to move apps, data and dalvik-cache to my ext4 partition. This works well and I can just drop the script into init.d when updating or testing new Roms.
I was looking to test your solution in a similar way, but it would appear that there is no way of setting it the way I want it at first run or will it recognise my current layout?
OK, so if we are going to include your script in our ROM as discussed and we want to enable moving dalvik, apps, apps-private to sd-ext but not cache how do we do that in the ROM zip? Just add a folder in /data in the ROM zip and name it .m2sd, and then add script files called .dalvik .cache etc with no extension containing just the one word disable or enable in it? Or is there another way?
|Thread Tools||Search this Thread|