mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 12:07:36 +00:00
sm6150-common: init: Add formattable flag for /data fstab entry
Otherwise it results in broken data wipe in recovery. Change-Id: I42bde849dc872f1d4d282c8bda3a87703c0eeebe Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Signed-off-by: therealmharc <therealmharc@gmail.com>
This commit is contained in:
@@ -39,7 +39,7 @@ product /product ext4 ro,barrier=1,
|
||||
product /product erofs ro wait,avb=vbmeta_system,logical,first_stage_mount
|
||||
/dev/block/bootdevice/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered wait,check
|
||||
/dev/block/bootdevice/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,check,formattable,first_stage_mount
|
||||
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,background_gc=sync,gc_merge,atgc,checkpoint_merge,compress_extension=apk,compress_extension=apex,compress_extension=so wait,check,encryptable=footer,fscompress
|
||||
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,background_gc=sync,gc_merge,atgc,checkpoint_merge,compress_extension=apk,compress_extension=apex,compress_extension=so wait,check,formattable,encryptable=footer,fscompress
|
||||
/dev/block/mmcblk1p1 /sdcard vfat nosuid,nodev wait
|
||||
/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults
|
||||
/dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults
|
||||
|
||||
Reference in New Issue
Block a user