diff options
author | Jeff Sharkey <jsharkey@android.com> | 2012-08-14 21:00:22 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2012-08-15 21:10:07 -0700 |
commit | 885342a0f2c834a6b680284047c47c9d04b32565 (patch) | |
tree | e595282d0c2054fd0c0206f9390d99424325cb27 /rootdir | |
parent | e50ac5f7771872331df70251d23d6bd8155da4a7 (diff) | |
download | system_core-885342a0f2c834a6b680284047c47c9d04b32565.zip system_core-885342a0f2c834a6b680284047c47c9d04b32565.tar.gz system_core-885342a0f2c834a6b680284047c47c9d04b32565.tar.bz2 |
Multi-user external storage support.
Remount rootfs as recursively shared, so that mount changes are
propagated into child namespaces. Mount external storage for access
from adb.
Clean multi-user dependencies for use in Dalvik. Also define
external storage paths.
Bug: 6925012
Change-Id: I375de581a63f4f36667894c56a34a9dd45361e8f
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 4c20ec1..5a31a8e 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -128,6 +128,8 @@ on fs on post-fs # once everything is setup, no need to modify / mount rootfs rootfs / ro remount + # mount shared so changes propagate into child namespaces + mount rootfs rootfs / shared rec # We chown/chmod /cache again so because mount is run as root + defaults chown system cache /cache |