From 6f770f9eb59bf7bdd482dceab02311a88f846136 Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Fri, 13 Nov 2015 17:48:07 +0530 Subject: init: Update storage configuration Change-Id: I21a5505e5a34ce6b83176b5342e412ee4fdc83c0 --- rootdir/init.qcom.rc | 34 ++-------------------------------- 1 file changed, 2 insertions(+), 32 deletions(-) (limited to 'rootdir') 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 -- cgit v1.2.3