diff options
author | Jeff Sharkey <jsharkey@android.com> | 2013-10-08 10:14:24 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2013-10-08 12:56:37 -0700 |
commit | e93a0517f4c88310066ac39c6b268ebfcceef44e (patch) | |
tree | 8deb001012eca30927c1ec5cc54d963e5b72f26c /rootdir | |
parent | e3e22062f0a00bc23dade9c6f06d41e76dd7b351 (diff) | |
download | system_core-e93a0517f4c88310066ac39c6b268ebfcceef44e.zip system_core-e93a0517f4c88310066ac39c6b268ebfcceef44e.tar.gz system_core-e93a0517f4c88310066ac39c6b268ebfcceef44e.tar.bz2 |
Set GID required to write, media_rw mount point.
Add sdcard FUSE daemon flag to specify the GID required for a package
to have write access. Normally sdcard_rw, but it will be media_rw
for secondary external storage devices, so DefaultContainerService
can still clean up package directories after uninstall.
Create /mnt/media_rw which is where vold will mount raw secondary
external storage devices before wrapping them in a FUSE instance.
Bug: 10330128, 10330229
Change-Id: I4385c36fd9035cdf56892aaf7b36ef4b81f4418a
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 8150a73..86e124f 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -61,6 +61,7 @@ loglevel 3 # See storage config details at http://source.android.com/tech/storage/ mkdir /mnt/shell 0700 shell shell + mkdir /mnt/media_rw 0700 media_rw media_rw mkdir /storage 0751 root sdcard_r # Directory for putting things only root should see. |