From cf91493d196b22e207ecfafc6d8dc2da45685806 Mon Sep 17 00:00:00 2001 From: Luca Stefani Date: Tue, 27 Jul 2021 15:44:25 -0400 Subject: [PATCH] g12: init-files: fstab: Don't mark firmware partitions as formatable * No clue why stock does this, marking these as formatable would allow both recovery and init to wipe them, which we definitely don't want. Change-Id: I0511d76d978863bc86aa7f0e8218db3bd4e98a95 --- init-files/fstab.amlogic | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init-files/fstab.amlogic b/init-files/fstab.amlogic index 88284b8..077c8bf 100644 --- a/init-files/fstab.amlogic +++ b/init-files/fstab.amlogic @@ -18,8 +18,8 @@ vendor /vendor ext4 ro,barrier=1,discard /devices/*dwc3/xhci-hcd.0.auto/usb?/*/host*/target*/block/sd* auto auto defaults voldmanaged=usb:auto,encryptable=userdata /devices/*dwc3/xhci-hcd.0.auto/usb?/*/host*/target*/block/sr* auto auto defaults voldmanaged=sr0:auto,encryptable=userdata /dev/block/loop auto loop defaults voldmanaged=loop:auto -/dev/block/param /mnt/vendor/param ext4 noatime,nosuid,nodev,nodelalloc,nomblk_io_submit,errors=panic wait,check,quota,formattable +/dev/block/param /mnt/vendor/param ext4 noatime,nosuid,nodev,nodelalloc,nomblk_io_submit,errors=panic wait,check,quota # Add for zram. zramsize can be in numeric (byte) , in percent /dev/block/zram0 none swap defaults wait,zramsize=268435456 -/dev/block/tee /mnt/vendor/tee ext4 noatime,nosuid,nodev,nodelalloc,nomblk_io_submit,errors=panic wait,check,formattable -/dev/block/factory /mnt/vendor/factory ext4 noatime,nosuid,nodev,nodelalloc,nomblk_io_submit,errors=panic wait,check,formattable +/dev/block/tee /mnt/vendor/tee ext4 noatime,nosuid,nodev,nodelalloc,nomblk_io_submit,errors=panic wait,check +/dev/block/factory /mnt/vendor/factory ext4 noatime,nosuid,nodev,nodelalloc,nomblk_io_submit,errors=panic wait,check -- 2.20.1