bresiyel/device_htc_dream-sapphire — comment on commit 81970ee3d404cb160f8ef825335d20b8fc7f74e7
File:  line 0
By Firerat:

The 06BindCache script is redundant, you should think about dropping it ( I have dropped it from cMTD )

instead look at
https://github.com/CyanogenMod/android_system_core/commit/110e0046059668db58e967e062da2a718e1e5e05
and
https://github.com/CyanogenMod/android_vendor_cyanogen/blob/gingerbread/prebuilt/common/etc/init.d/06mountdl

I have a script based on 06mountdl
https://gist.github.com/1182265

wouldn't blame you for stating that I was over thinking it :)
some reasoning here
https://github.com/ezterry/GB-device_htc_dream-sapphire/commit/3186eb5e606704f0fc4f861099555f89397c0825#prebuilt/etc/init.d/06BindCache

also, 40mb is probably doing the opposite of what you need it to do

the cache bind script was created a long time ago when I re purposed the cache partition,
I then added the size check when I employed the script for cMTD, at the time the g1's cache size was 30mb, since then we have 1.33.0013d with cache size of 27mb.
I assume that if the cache size is below the 'smallest' that it has been shrunk to it's minimum, so the bind is done
Your 40mb will always bind mount a g1's cache which may lead to some issues with market, especially if no sd-ext, see
http://forum.xda-developers.com/showpost.php?p=21246394&postcount=35
their data partition will be under unnecessary pressure, needed at least 2xAppSize + 9.3 mb free space to install

But like I said, it really is redundant as long at DOWNLOAD_CACHE is set and you have some script to look after it, either cm's mountdl or some variant of 05setEnv

NameLessJedi has also added this
https://github.com/NameLessJedi/vendor_nlj/commit/d054edc5fb0fcbbc98f4b906f441d02c2540894c

Keep up the good work :)