Use the filesystem manager to mount and check filesystems
fs_mgr reads /fstab.<device> to determine what to mount and what to
check, and removes the details from the init.<device>.rc file.
Change-Id: I3653d134a5893f08732184c7d68f25f635e399b7
diff --git a/init.herring.rc b/init.herring.rc
index 02dcac0..2230b47 100755
--- a/init.herring.rc
+++ b/init.herring.rc
@@ -8,8 +8,6 @@
setprop ro.radio.noril yes
setprop ro.bt.bdaddr_path "/efs/bluetooth/bt_addr"
- setprop ro.crypto.keyfile.userdata /efs/userdata_footer
-
# fake some battery state
setprop status.battery.state Slow
setprop status.battery.level 5
@@ -41,8 +39,7 @@
mount yaffs2 mtd@efs /efs nosuid nodev
chmod 770 /efs/bluetooth
chmod 770 /efs/imei
- 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
+ mount_all /fstab.herring
export EXTERNAL_STORAGE /storage/sdcard0
mkdir /storage 0050 system sdcard_r