summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-10-17 16:25:14 -0700
committerJeff Sharkey <jsharkey@android.com>2013-10-17 16:47:20 -0700
commit00c8e1a2199b2f9c50935bb4ea8bb3b86ba1bbef (patch)
treed100ff4c67ff6bd93f66eda7633b89eab53c3780
parent1c39fdcd9eb628338d7f273e43723585ca35721a (diff)
downloadcore-00c8e1a2199b2f9c50935bb4ea8bb3b86ba1bbef.tar.gz
vold no longer does MS_MOVE; remove tmpfs.
MS_MOVE was used when staging external storage devices, which no longer occurs. In fact, having a writable tmpfs was masking a vold bug around moving apps to SD cards. Bug: 11175082 Change-Id: Ib2d7561c3a0b6fde94f651a496cb0c1f12f88d96
-rw-r--r--rootdir/init.rc3
1 files changed, 0 insertions, 3 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 86e124f15..a0a98134b 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -66,8 +66,6 @@ loglevel 3
# Directory for putting things only root should see.
mkdir /mnt/secure 0700 root root
- # Create private mountpoint so we can MS_MOVE from staging
- mount tmpfs tmpfs /mnt/secure mode=0700,uid=0,gid=0
# Directory for staging bindmounts
mkdir /mnt/secure/staging 0700 root root
@@ -143,7 +141,6 @@ on post-fs
mount rootfs rootfs / ro remount
# mount shared so changes propagate into child namespaces
mount rootfs rootfs / shared rec
- mount tmpfs tmpfs /mnt/secure private rec
# We chown/chmod /cache again so because mount is run as root + defaults
chown system cache /cache