diff options
-rw-r--r-- | BoardCommonConfig.mk | 1 | ||||
-rw-r--r-- | common.mk | 5 | ||||
-rwxr-xr-x | rootdir/fstab.smdk4210 | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/BoardCommonConfig.mk b/BoardCommonConfig.mk index 6c3900a..4a195eb 100644 --- a/BoardCommonConfig.mk +++ b/BoardCommonConfig.mk @@ -64,6 +64,7 @@ MALLOC_IMPL := dlmalloc # Filesystem TARGET_USERIMAGES_USE_EXT4 := true +TARGET_USERIMAGES_USE_F2FS := true BOARD_BOOTIMAGE_PARTITION_SIZE := 8388608 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 536870912 BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147467264 @@ -138,6 +138,11 @@ PRODUCT_PACKAGES += \ resize2fs_static \ setup_fs +# F2FS Filesystem +PRODUCT_PACKAGES += \ + fsck.f2fs \ + mkfs.f2fs + # Live Wallpapers PRODUCT_PACKAGES += \ Galaxy4 \ diff --git a/rootdir/fstab.smdk4210 b/rootdir/fstab.smdk4210 index eb5a7dd..103b824 100755 --- a/rootdir/fstab.smdk4210 +++ b/rootdir/fstab.smdk4210 @@ -5,8 +5,10 @@ # data partition must be located at the bottom for supporting device encryption /dev/block/mmcblk0p9 /system ext4 ro,noatime wait +/dev/block/mmcblk0p7 /cache f2fs noatime,nosuid,nodev,background_gc=off,inline_xattr,active_logs=2 wait /dev/block/mmcblk0p7 /cache ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check_spo /dev/block/mmcblk0p1 /efs ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check_spo +/dev/block/mmcblk0p10 /data f2fs noatime,nosuid,nodev,background_gc=off,inline_data,inline_xattr,active_logs=2 wait,encryptable=footer,length=-16384 /dev/block/mmcblk0p10 /data ext4 noatime,nosuid,nodev,noauto_da_alloc,journal_async_commit,errors=panic wait,check_spo,encryptable=footer,length=-16384 /dev/block/mmcblk0p12 /preload ext4 noatime,nosuid,nodev,journal_async_commit wait |