aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-08-17 16:01:16 -0700
committerJeff Sharkey <jsharkey@android.com>2012-08-20 13:11:11 -0700
commit5dd0f86fbfed631b31c9055109889f1d9559a3ea (patch)
tree2dd780836069abca78d0684cee75a0a5ca276128 /rootdir
parentab163a9a1784594b46217576d0fa991496f3d14e (diff)
downloadsystem_core-5dd0f86fbfed631b31c9055109889f1d9559a3ea.zip
system_core-5dd0f86fbfed631b31c9055109889f1d9559a3ea.tar.gz
system_core-5dd0f86fbfed631b31c9055109889f1d9559a3ea.tar.bz2
Migrate sdcard0 to shell-accessible location.
Also remove mount() from adb, since it can come online long before data partition is ready. Set EXTERNAL_STORAGE environment variable to point to owner for backwards compatibility. Bug: 7005701 Change-Id: I63444f6636624eb7ad89f053daa289663424639e
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 5a31a8e..1ed1323 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -56,6 +56,9 @@ loglevel 3
mkdir /cache 0770 system cache
mkdir /config 0500 root root
+ # Directory for shell-visible mount points, like external storage
+ mkdir /mnt/shell 0700 shell shell
+
# Directory for putting things only root should see.
mkdir /mnt/secure 0700 root root