Skip to content

Commit

Permalink
Merge "Organize external storage to enforce sdcard_r."
Browse files Browse the repository at this point in the history
  • Loading branch information
jsharkey authored and Android (Google) Code Review committed Apr 10, 2012
2 parents 7e178cf + 1c47e25 commit b1bf232
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions init.herring.rc
Expand Up @@ -44,9 +44,11 @@ on fs
mount ext4 /dev/block/platform/s3c-sdhci.0/by-name/system /system wait ro
mount ext4 /dev/block/platform/s3c-sdhci.0/by-name/userdata /data wait noatime nosuid nodev nomblk_io_submit

export EXTERNAL_STORAGE /mnt/sdcard
mkdir /mnt/sdcard 0000 system system
symlink /mnt/sdcard /sdcard
export EXTERNAL_STORAGE /storage/sdcard0
mkdir /storage 0550 system sdcard_r
mkdir /storage/sdcard0 0000 system system
symlink /storage/sdcard0 /sdcard
symlink /storage/sdcard0 /mnt/sdcard

# permissions for bluetooth.
chown bluetooth bluetooth /efs/bluetooth
Expand Down

0 comments on commit b1bf232

Please sign in to comment.