Loading rootdir/init.rc +20 −5 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ loglevel 3 export ANDROID_ROOT /system export ANDROID_ASSETS /system/app export ANDROID_DATA /data export EXTERNAL_STORAGE /sdcard export EXTERNAL_STORAGE /mnt/sdcard export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar # Backward compatibility Loading @@ -20,15 +20,30 @@ loglevel 3 symlink /sys/kernel/debug /d # create mountpoints mkdir /sdcard 0000 system system mkdir /mnt 0775 root system mkdir /mnt/sdcard 0000 system system # Backwards Compat - XXX: Going away in G* symlink /mnt/sdcard /sdcard mkdir /system mkdir /data 0771 system system mkdir /cache 0770 system cache mkdir /config 0500 root root # create Android Secure External Cache mount tree mkdir /asec 0700 system system mount tmpfs tmpfs /asec mode=0755 # Directory for putting things only root should see. mkdir /mnt/secure 0700 root root # Directory for staging bindmounts mkdir /mnt/secure/staging 0700 root root # Directory-target for where the secure container # imagefile directory will be bind-mounted mkdir /mnt/secure/asec 0700 root root # Secure container public mount points. mkdir /mnt/asec 0700 root system mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000 mount rootfs rootfs / ro remount Loading Loading
rootdir/init.rc +20 −5 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ loglevel 3 export ANDROID_ROOT /system export ANDROID_ASSETS /system/app export ANDROID_DATA /data export EXTERNAL_STORAGE /sdcard export EXTERNAL_STORAGE /mnt/sdcard export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar # Backward compatibility Loading @@ -20,15 +20,30 @@ loglevel 3 symlink /sys/kernel/debug /d # create mountpoints mkdir /sdcard 0000 system system mkdir /mnt 0775 root system mkdir /mnt/sdcard 0000 system system # Backwards Compat - XXX: Going away in G* symlink /mnt/sdcard /sdcard mkdir /system mkdir /data 0771 system system mkdir /cache 0770 system cache mkdir /config 0500 root root # create Android Secure External Cache mount tree mkdir /asec 0700 system system mount tmpfs tmpfs /asec mode=0755 # Directory for putting things only root should see. mkdir /mnt/secure 0700 root root # Directory for staging bindmounts mkdir /mnt/secure/staging 0700 root root # Directory-target for where the secure container # imagefile directory will be bind-mounted mkdir /mnt/secure/asec 0700 root root # Secure container public mount points. mkdir /mnt/asec 0700 root system mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000 mount rootfs rootfs / ro remount Loading