/system being mounted rw while init.rc specifies ro

679 views
Skip to first unread message

spo...@gmail.com

unread,
Mar 19, 2014, 6:09:03 PM3/19/14
to android-...@googlegroups.com
Hi All,

I am running into an issue developing a device based on Android ICS 4.0.4.   For some reason my system partition is always being mounted rw regardless of what the init.rc mount command says.

Here is the command in my init.xxxx.rc:
on fs
  mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/system /system wait ro

This appears to be the correct syntax and matches the implementation in the init.tuna.rc from AOSP.  However when I boot the device and execute mount I see the following:

/dev/block/platform/omap/omap_hsmmc.1/by-name/system /system ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0

I've checked the rootdir init.rc file and the rest of my init.xxxx.rc to ensure that the partition is not being purposefully remounted rw anywhere along the way.

What could cause the system partition to be mounted rw regardless of the init command?

Thanks,
SP

Michael Trimarchi

unread,
Mar 19, 2014, 6:12:17 PM3/19/14
to android-...@googlegroups.com

Hi

Omap4? Texas?

Michael

> Thanks,
> SP
>
> --
> You received this message because you are subscribed to the Google Groups "android-platform" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
> To post to this group, send email to android-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/android-platform.
> For more options, visit https://groups.google.com/d/optout.

spo...@gmail.com

unread,
Mar 20, 2014, 8:14:52 AM3/20/14
to android-...@googlegroups.com
Yes, this is TI OMAP4.

SP

Michael Trimarchi

unread,
Mar 20, 2014, 1:22:25 PM3/20/14
to android-...@googlegroups.com
On Thu, Mar 20, 2014 at 1:14 PM, <spo...@gmail.com> wrote:
Yes, this is TI OMAP4.

SP

We have open this bug in TI for our product

Also created a topic on TI's forum:
http://e2e.ti.com/support/embedded/android/f/509/t/314334.aspx

Michael
 

spo...@gmail.com

unread,
Mar 20, 2014, 5:08:43 PM3/20/14
to android-...@googlegroups.com
Thanks Michael,

This got me pointed in the right direction and I was able to adjust the SGX code to behave properly for our device.

BR,
SP
Reply all
Reply to author
Forward
0 new messages