This list is for developing applications using the Android SDK. Please
visit http://source.android.com for support resources for firmware
developers.

On Wed, May 18, 2011 at 1:07 PM, ARM_SOC <[email protected]> wrote:
> In android boot time Kernel boot parameter has file system location
> information root=/dev/sda1 or root=/dev/mmcblkp1. Based on that
> android init.rc mount the /system /data /cache folders. Now we are
> using two different init.rc for specific device (sda1 or mmcblk1p1) ,
> i want make into a single script which need to validate the device
> information from kernel boot parameter in the init.rc file and mount
> accordingly.
>
> Below my analysis
>
> system/core/init/init.c :
>                                Which reads all kernel boot parameter
> and set_property("ro.kernel.root",value). This function reads the cat /
> proc/cmdline and spilit it.
>
>
> system/core/rootdir/init.rc
>                            which reads like on
> property:ro.kernel.root.   But this is not working when i tested.
>
> Am i approaching problem in correct way? not?
>
> if not, kindly provide solution
>
> Thanks in Advance.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to