summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-08-22 18:17:23 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-08-22 18:17:23 -0700
commit42a1e6c9d827fc3d64ad3b0750b87de1f4c436e7 (patch)
tree642d775ca509150923015efe78aa2e8467618d9b /rootdir
parentf70c6da41ef13146b85e1101d1e708cd35f81b78 (diff)
parentbfcd810b792f7ffbb2ec1360c0c2662725fd0362 (diff)
downloadsystem_core-42a1e6c9d827fc3d64ad3b0750b87de1f4c436e7.zip
system_core-42a1e6c9d827fc3d64ad3b0750b87de1f4c436e7.tar.gz
system_core-42a1e6c9d827fc3d64ad3b0750b87de1f4c436e7.tar.bz2
Merge "Iteration on multi-user external storage." into jb-mr1-dev
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 89aafaf..f9f98a2 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -34,6 +34,7 @@ loglevel 3
export ANDROID_ROOT /system
export ANDROID_ASSETS /system/app
export ANDROID_DATA /data
+ export ANDROID_STORAGE /storage
export ASEC_MOUNTPOINT /mnt/asec
export LOOP_MOUNTPOINT /mnt/obb
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar
@@ -56,8 +57,9 @@ loglevel 3
mkdir /cache 0770 system cache
mkdir /config 0500 root root
- # Directory for shell-visible mount points, like external storage
+ # See storage config details at http://source.android.com/tech/storage/
mkdir /mnt/shell 0700 shell shell
+ mkdir /storage 0050 root sdcard_r
# Directory for putting things only root should see.
mkdir /mnt/secure 0700 root root