blob: ae081e1f7669ce53eb9e956d0c75b6388a63b9d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# MTK project .rc configure
on post-fs-data
#
# SHARED_SDCARD related directory & configuration (begin)
#
# we will remap this as /mnt/sdcard with the sdcard fuse tool
mkdir /data/media 0770 media_rw media_rw
chown media_rw media_rw /data/media
#
# SHARED_SDCARD related directory & configuration (end)
#
on init
mount tmpfs tmpfs /storage/emulated mode=0755,uid=1023,gid=1023
# Support legacy paths
symlink /sdcard /mnt/sdcard
symlink /sdcard /storage/sdcard0
on post-fs
# mount shared so changes propagate into child namespaces
mount rootfs rootfs / shared rec
mount tmpfs tmpfs /mnt/secure private rec
|