diff options
| author | Joonhyuk Song <fprhqkrtk303@naver.com> | 2015-08-30 00:57:48 +0900 |
|---|---|---|
| committer | Joonhyuk Song <fprhqkrtk303@naver.com> | 2015-08-30 01:02:15 +0900 |
| commit | 56cd47b48b419c1b6b225299e5a0f9f260c0e292 (patch) | |
| tree | 4778f16a441f8fbf33f4433c1c62d5c79eb22752 | |
| parent | 493f60190ed50d9a56a5cf46b953e9f98ae20412 (diff) | |
fstab: support f2fs-formatted cache and userdata
Change-Id: Ia219dd3e7e16b0d219e5d5608191439b5df7851b
| -rw-r--r-- | BoardConfig.mk | 1 | ||||
| -rw-r--r-- | rootdir/etc/fstab.g3 | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index 3e29cd3..8b622a7 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -33,6 +33,7 @@ BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16777216 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2583691264 BOARD_USERDATAIMAGE_PARTITION_SIZE := 27426023424 +TARGET_USERIMAGES_USE_F2FS := true # Recovery TARGET_RECOVERY_FSTAB := device/lge/f400/rootdir/etc/fstab.g3 diff --git a/rootdir/etc/fstab.g3 b/rootdir/etc/fstab.g3 index 895ae19..9961fba 100644 --- a/rootdir/etc/fstab.g3 +++ b/rootdir/etc/fstab.g3 @@ -7,7 +7,9 @@ #<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags> /dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1,noatime wait +/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs rw,nosuid,nodev,noatime,nodiratime,inline_xattr wait,check,encryptable=/dev/block/platform/msm_sdcc.1/by-name/encrypt /dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,noatime,noauto_da_alloc,errors=continue wait,check,encryptable=/dev/block/platform/msm_sdcc.1/by-name/encrypt +/dev/block/platform/msm_sdcc.1/by-name/cache /cache f2fs rw,nosuid,nodev,noatime,nodiratime,inline_xattr wait,check /dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered wait,check /dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 nosuid,nodev,barrier=1,data=ordered,nodelalloc,nomblk_io_submit,errors=panic wait /dev/block/platform/msm_sdcc.1/by-name/boot /boot emmc defaults recoveryonly |
