diff options
author | Pavel Kirpichyov <pavel.kirpichyov@gmail.com> | 2013-11-13 11:02:50 +0400 |
---|---|---|
committer | Pavel Kirpichyov <pavel.kirpichyov@gmail.com> | 2013-11-18 20:55:11 +0400 |
commit | 93c54dc9b6caac29c0cb5439fc8c7355ed111ead (patch) | |
tree | 9fd951945f2a1d76013153ed0442e81aef1d0336 /rootdir/init.smdk4210.rc | |
parent | e43d6d9042ea080bd5c72acc816f573c07ba24cb (diff) | |
download | device_samsung_galaxys2-common-93c54dc9b6caac29c0cb5439fc8c7355ed111ead.zip device_samsung_galaxys2-common-93c54dc9b6caac29c0cb5439fc8c7355ed111ead.tar.gz device_samsung_galaxys2-common-93c54dc9b6caac29c0cb5439fc8c7355ed111ead.tar.bz2 |
Fix sdcard mounting
Change-Id: I340c66636a5b85222b0e5bed7e476b5c4ba07625
Diffstat (limited to 'rootdir/init.smdk4210.rc')
-rw-r--r-- | rootdir/init.smdk4210.rc | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/rootdir/init.smdk4210.rc b/rootdir/init.smdk4210.rc index 741bc54..0a5ef4e 100644 --- a/rootdir/init.smdk4210.rc +++ b/rootdir/init.smdk4210.rc @@ -4,10 +4,15 @@ import init.gps.rc on init export EXTERNAL_STORAGE /storage/sdcard0 export SECONDARY_STORAGE /storage/sdcard1 - mkdir /storage 0775 system system - mkdir /storage/sdcard0 0775 system system - mkdir /storage/sdcard1 0775 system system - mkdir /storage/usbdisk0 0775 system system + + mkdir /mnt/media_rw/sdcard0 0700 media_rw media_rw + mkdir /mnt/media_rw/sdcard1 0700 media_rw media_rw + mkdir /mnt/media_rw/usbdisk0 0700 media_rw media_rw + + mkdir /storage/sdcard0 0770 root root + mkdir /storage/sdcard1 0770 root root + mkdir /storage/usbdisk0 0770 root root + mkdir /efs 0771 radio system mkdir /preload 0771 system system mkdir /mnt 0775 root system @@ -395,9 +400,9 @@ service iprenew_p2p /system/bin/dhcpcd -n oneshot service iprenew_bnep0 /system/bin/dhcpcd -n - class main - disabled - oneshot + class main + disabled + oneshot # bluetooth mac address service bdaddr /system/bin/bdaddr_read @@ -412,3 +417,15 @@ service bugreport /system/bin/bugmailer.sh -v disabled oneshot keycodes 114 115 116 + +service fuse_sdcard0 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard0 /storage/sdcard0 + class late_start + disabled + +service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1 + class late_start + disabled + +service fuse_usbdisk0 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk0 /storage/usbdisk0 + class late_start + disabled |