3
0

galaxys2-common: Add f2fs filesystem support

Change-Id: I593fe2057a057e7fcf73a6158df7646ad1a9bceb
This commit is contained in:
Arnab Chaudhuri 2016-02-14 20:38:55 +05:30 committed by Gerrit Code Review
parent 4319094e44
commit 86f63903f9
3 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -138,6 +138,11 @@ PRODUCT_PACKAGES += \
resize2fs_static \
setup_fs
# F2FS Filesystem
PRODUCT_PACKAGES += \
fsck.f2fs \
mkfs.f2fs
# Live Wallpapers
PRODUCT_PACKAGES += \
Galaxy4 \

View File

@ -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