diff options
author | jt1134 <jt1134@gmail.com> | 2012-09-22 23:15:39 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.cyanogenmod.com> | 2012-09-25 21:36:21 -0400 |
commit | e3936f5145a98419eb2861f07c1476bdfa2fae6f (patch) | |
tree | 4a9ff1a8c9e17f6922aaa21751b35091a820bf6b /init.aries.rc | |
parent | 5e3a9016c150fac61e8d6321ab9592c2bb11fd53 (diff) | |
download | device_samsung_aries-common-e3936f5145a98419eb2861f07c1476bdfa2fae6f.zip device_samsung_aries-common-e3936f5145a98419eb2861f07c1476bdfa2fae6f.tar.gz device_samsung_aries-common-e3936f5145a98419eb2861f07c1476bdfa2fae6f.tar.bz2 |
use logical volumes for system and data, bring back datadata
* use lvm to split eMMC into 2 logical partitions
* use entire available space on OneNAND for /datadata
based on information from: http://bit.ly/OMny8Z
WARNING: WILL WIPE DATA
Change-Id: I3caeec096a6798afafaf03b2eb72c20580272682
Diffstat (limited to 'init.aries.rc')
-rw-r--r-- | init.aries.rc | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/init.aries.rc b/init.aries.rc index a935f38..a9bcc64 100644 --- a/init.aries.rc +++ b/init.aries.rc @@ -17,6 +17,7 @@ on init symlink /storage/sdcard1 /emmc symlink /storage/sdcard1 /mnt/emmc # FIXME: Remove emmc? + mkdir /datadata 0771 system system # We will create our own ril-daemon service in class 'core' because the # rild doesn't like being killed. (During device encryption.) @@ -39,10 +40,13 @@ on boot setprop ro.telephony.call_ring.multiple 0 on fs +# LVM: set up LVM volumes + exec /lvm/sbin/lvm vgscan --mknodes --ignorelockingfailure + exec /lvm/sbin/lvm vgchange -aly --ignorelockingfailure + mkdir /radio 0775 radio radio mount yaffs2 mtd@radio /radio - # We don't support encryption on yaffs (set before mount_all) - setprop ro.crypto.state unsupported + mount yaffs2 mtd@datadata /datadata mount_all fstab.aries chown radio radio /radio/modem.bin @@ -69,6 +73,9 @@ on fs chmod 660 /sys/class/sec/uart_switch/UART_SEL/value on post-fs + chown system system /datadata + chmod 0771 /datadata + #symlinks for samsung RIL symlink /radio/modem.bin /dev/block/bml12 @@ -84,17 +91,16 @@ on post-fs write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand on post-fs-data + # for migrating download provider's cache out of the small /data/data + mkdir /data/data2 0771 system system + + # setup datadata + exec /sbin/setupdatadata.sh + # wi-fi mkdir /data/misc/wifi/sockets 0770 wifi wifi mkdir /data/misc/dhcp 0770 dhcp dhcp - # Dalvik cache on /system to save space - mkdir /system/dalvik-cache 0771 system system - chown system system /system/dalvik-cache - chmod 0771 /system/dalvik-cache - exec /system/bin/rm -r /data/dalvik-cache - symlink /system/dalvik-cache /data/dalvik-cache - # download cache mkdir /data/download 0770 system cache |