diff options
author | San Mehat <san@google.com> | 2010-01-06 10:38:49 -0800 |
---|---|---|
committer | San Mehat <san@google.com> | 2010-01-06 11:02:42 -0800 |
commit | 900570e2a833bde0683cce5254d9dc102509cabc (patch) | |
tree | c8def6aca3a160f3179ccb845a911b2fb7e16c05 /rootdir | |
parent | 6890db33cb9e6615fd98d03a8f2e57c1b27f7ced (diff) | |
download | system_core-900570e2a833bde0683cce5254d9dc102509cabc.zip system_core-900570e2a833bde0683cce5254d9dc102509cabc.tar.gz system_core-900570e2a833bde0683cce5254d9dc102509cabc.tar.bz2 |
init.rc: Create a small tmpfs on /asec so we can create mountpoints
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 4aa02c5..b4689e6 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -24,11 +24,14 @@ loglevel 3 mkdir /system mkdir /data 0771 system system mkdir /cache 0770 system cache - mkdir /asec 0500 system system mkdir /config 0500 root root mkdir /sqlite_stmt_journals 01777 root root mount tmpfs tmpfs /sqlite_stmt_journals size=4m +# create Android Secure External Cache mount tree + mkdir /asec 0500 system system + mount tmpfs tmpfs /asec mode=0700 + mount rootfs rootfs / ro remount write /proc/sys/kernel/panic_on_oops 1 |