summaryrefslogtreecommitdiff
path: root/fstab.hardware
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@google.com>2019-06-05 19:41:30 -0700
committerJaegeuk Kim <jaegeuk@google.com>2019-06-05 19:41:30 -0700
commitce59ced0cbd0c2348563eac73be007469d155cda (patch)
tree10eb4734b342976440c8fe90b6b2d32b791182d1 /fstab.hardware
parent835aec963eff223ddb7eefc51ce717e6f8ed1000 (diff)
downloadbonito-ce59ced0cbd0c2348563eac73be007469d155cda.tar.gz
fstab: use "sync" for /metadata
/metadata should be synchronous enoughly to avoid boot failure. Bug: 134172577 Change-Id: I342b1eab9b3b79024deebe039e07d0aa93209148 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Diffstat (limited to 'fstab.hardware')
-rw-r--r--fstab.hardware2
1 files changed, 1 insertions, 1 deletions
diff --git a/fstab.hardware b/fstab.hardware
index 6b2c2f73..48e262a8 100644
--- a/fstab.hardware
+++ b/fstab.hardware
@@ -9,7 +9,7 @@
system /system ext4 ro,barrier=1 wait,slotselect,avb=vbmeta,logical,first_stage_mount
vendor /vendor ext4 ro,barrier=1 wait,slotselect,avb,logical,first_stage_mount
product /product ext4 ro,barrier=1 wait,slotselect,avb,logical,first_stage_mount
-/dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,formattable,first_stage_mount
+/dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard,sync wait,formattable,first_stage_mount
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier latemount,wait,check,fileencryption=ice,keydirectory=/metadata/vold/metadata_encryption,quota,formattable,sysfs_path=/sys/devices/platform/soc/7c4000.sdhci,reservedsize=128M,checkpoint=fs
/dev/block/bootdevice/by-name/modem /vendor/firmware_mnt vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:vendor_firmware_file:s0 wait,slotselect
# Need to have this entry in here even though the mount point itself is no longer needed.