Hi Deva,
On Thu, Mar 25, 2010 at 3:54 PM, Deva R <[email protected]> wrote: > pls check > http://groups.google.com/group/android-porting/msg/d303260bc1dbb08a > > can u cross check ur init.rc for proper MTD partition mounting sequence?? > > mount yaffs2 m...@system /system > mount yaffs2 m...@system /system ro remount > mount yaffs2 m...@userdata /data nosuid nodev > mount yaffs2 m...@cache /cache nosuid nodev > > Yes, my init.rc is using that same mount sequence.. here is an excerpt from my init.rc file for NAND. From the bootargs, the filesystem is mounted as rw anyway. # mount mtd partitions # Mount /system rw first to give the filesystem a chance to save a checkpoint mount yaffs2 m...@system /system #mount yaffs2 m...@system /system ro remount # We chown/chmod /data again so because mount is run as root + defaults mount yaffs2 m...@userdata /data nosuid nodev chown system system /data chmod 0771 /data # Same reason as /data above mount yaffs2 m...@cache /cache nosuid nodev chown system cache /cache chmod 0770 /cache # This may have been created by the recovery system with odd permissions chown system system /cache/recovery chmod 0770 /cache/recovery best regards, Elvis -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting To unsubscribe from this group, send email to android-porting+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
