Skip to content

Commit

Permalink
fstab: switch zram swap to /data/per_boot
Browse files Browse the repository at this point in the history
Put zram writeback backing store into /data/per_boot

Bug: 144354600
Bug: 140882488

Change-Id: I405bc12d4b90b9f236deba23c7c8973311ad7bf4
Signed-off-by: YH_Lin <[email protected]>
  • Loading branch information
YH_Lin committed Dec 2, 2019
1 parent aefaca6 commit af8743a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fstab.hardware
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ product /product e
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier latemount,wait,check,quota,formattable,fileencryption=ice,reservedsize=128M,sysfs_path=/sys/devices/platform/soc/1d84000.ufshc,keydirectory=/metadata/vold/metadata_encryption,checkpoint=fs
/devices/platform/soc/a600000.ssusb/a600000.dwc3* auto vfat defaults voldmanaged=usb:auto
/dev/block/zram0 none swap defaults zramsize=2147483648,max_comp_streams=8,zram_loopback_path=/data/unencrypted/zram_swap,zram_loopback_size=512M
/dev/block/zram0 none swap defaults zramsize=2147483648,max_comp_streams=8,zram_loopback_path=/data/per_boot/zram_swap,zram_loopback_size=512M

0 comments on commit af8743a

Please sign in to comment.