From 9ae74652e59d8f564d1a34113e205ea9fcea5c40 Mon Sep 17 00:00:00 2001 From: Brandon Bennett Date: Mon, 21 Feb 2011 15:04:53 -0700 Subject: [PATCH] Change /system from ext2 to ext3 Even though the stock rom mounts /system as ext2, formatting it as ext3 will be better. Mounting an ext3 fs as ext2 will just ignore the journaling which will be ok for us. Also recovery should follow the format in the edify scripting, so this is only for corner cases anyway. Change-Id: I3beebc85360d714f5ce43898957bea8deaa3580f --- recovery.fstab | 2 +- releasetools/encore_common.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/recovery.fstab b/recovery.fstab index 5691996..f615f12 100644 --- a/recovery.fstab +++ b/recovery.fstab @@ -1,7 +1,7 @@ # mount point fstype device [device2] [fstype2] /boot vfat /dev/block/mmcblk0p1 -/system ext4 /dev/block/mmcblk0p5 NULL ext2 +/system ext4 /dev/block/mmcblk0p5 NULL ext3 /data ext4 /dev/block/mmcblk0p6 NULL ext3 /cache ext4 /dev/block/mmcblk0p7 NULL ext3 /emmc vfat /dev/block/mmcblk0p8 diff --git a/releasetools/encore_common.py b/releasetools/encore_common.py index 53b7e49..e38375a 100755 --- a/releasetools/encore_common.py +++ b/releasetools/encore_common.py @@ -30,6 +30,3 @@ def load_module_from_file(module_name, filename): f.close() return module -# Add vfat to the partition types -PARTITION_TYPES['vfat'] = "EMMC" -PARTITION_TYPES['ext2'] = "EMMC"