diff options
author | Chirayu Desai <chirayudesai1@gmail.com> | 2015-11-13 17:48:07 +0530 |
---|---|---|
committer | Max Weffers <rcstar6696@gmail.com> | 2017-01-30 15:42:40 +0100 |
commit | 6f770f9eb59bf7bdd482dceab02311a88f846136 (patch) | |
tree | 7024be091faef5260d358812530d2c3afd9069a7 /rootdir | |
parent | 376ca7a392e5ef529f1481d59f3a8487c23b85ad (diff) |
init: Update storage configuration
Change-Id: I21a5505e5a34ce6b83176b5342e412ee4fdc83c0
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.qcom.rc | 34 |
1 files changed, 2 insertions, 32 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 0bf500d..aa35e36 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -24,27 +24,9 @@ on early-init chown system system /sys/kernel/debug/kgsl/proc on init - mkdir /mnt/shell/emulated 0700 shell shell - mkdir /storage/emulated 0555 root root - mkdir /mnt/media_rw/sdcard1 0700 media_rw media_rw - mkdir /mnt/media_rw/usbdisk 0700 media_rw media_rw - mkdir /storage/sdcard1 0775 system system - mkdir /storage/usbdisk 0775 system system - - export EXTERNAL_STORAGE /storage/emulated/legacy - export SECONDARY_STORAGE /storage/sdcard1 - export EMULATED_STORAGE_SOURCE /mnt/shell/emulated - export EMULATED_STORAGE_TARGET /storage/emulated - # for backwards compatibility - symlink /storage/emulated/legacy /sdcard - symlink /storage/emulated/legacy /mnt/sdcard - symlink /storage/emulated/legacy /storage/sdcard0 - symlink /mnt/shell/emulated/0 /storage/emulated/legacy - symlink /storage/sdcard1 /ext_card - symlink /storage/sdcard1 /mnt/ext_card - symlink /storage/usbdisk /usbdisk - symlink /storage/usbdisk /mnt/usbdisk + symlink /sdcard /mnt/sdcard + symlink /sdcard /storage/sdcard0 mkdir /tmp mount tmpfs tmpfs /tmp nosuid mode=0755,uid=0,gid=0 @@ -490,18 +472,6 @@ on property:ro.data.large_tcp_window_size=true # Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB) write /proc/sys/net/ipv4/tcp_adv_win_scale 2 -# virtual sdcard daemon running as media_rw (1023) -service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated - class late_start - -service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -w 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1 - class late_start - disabled - -service fuse_usbdisk /system/bin/sdcard -u 1023 -g 1023 -w 1023 -d /mnt/media_rw/usbdisk /storage/usbdisk - class late_start - disabled - service mpdecision /system/bin/mpdecision --avg_comp class late_start user root |