land: Enable F2FS support

Change-Id: I4a1b3eb2e18be583a4089c70943572ec19dc86a1
This commit is contained in:
Zhao Wei Liew 2017-01-02 19:14:26 +08:00
parent 49dfd1f02d
commit 62db76181e
2 changed files with 3 additions and 0 deletions

View file

@ -8,3 +8,4 @@ BOARD_USERDATAIMAGE_PARTITION_SIZE := 26301931008
BOARD_FLASH_BLOCK_SIZE := 131072 BOARD_FLASH_BLOCK_SIZE := 131072
TARGET_USERIMAGES_USE_EXT4 := true TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_F2FS := true

View file

@ -6,7 +6,9 @@
/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults /dev/block/bootdevice/by-name/boot /boot emmc defaults defaults
/dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults /dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults
/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait /dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait
/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,inline_xattr wait,formattable,check,forceencrypt=footer
/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc wait,formattable,check,forceencrypt=footer /dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc wait,formattable,check,forceencrypt=footer
/dev/block/bootdevice/by-name/cache /cache f2fs nosuid,nodev,inline_xattr wait,formattable
/dev/block/bootdevice/by-name/cache /cache ext4 nosuid,nodev,barrier=1 wait,formattable /dev/block/bootdevice/by-name/cache /cache ext4 nosuid,nodev,barrier=1 wait,formattable
/dev/block/bootdevice/by-name/persist /persist ext4 nosuid,nodev,barrier=1 wait /dev/block/bootdevice/by-name/persist /persist ext4 nosuid,nodev,barrier=1 wait
/dev/block/bootdevice/by-name/dsp /dsp ext4 ro,nosuid,nodev,barrier=1 wait /dev/block/bootdevice/by-name/dsp /dsp ext4 ro,nosuid,nodev,barrier=1 wait