Files
device_google_walleye/fstab.hardware
David Lin 1747f51cb8 fstab: remove discard mount option for system and userdata
Mount option 'discard' is redundant when the filesystem is being mounted
as ready-only. And for userdata, it should rely on daily FSTRIM instead
of the dicard mount option for better performance.

Test: build & boot
Bug: 30807864

Change-Id: I814da445168b6b071f56d0c182c8cef095ff1c99
Signed-off-by: David Lin <dtwlin@google.com>
2017-01-31 17:45:15 -08:00

10 lines
1.1 KiB
Plaintext

# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/bootdevice/by-name/system / ext4 ro,barrier=1 wait,slotselect
/dev/block/bootdevice/by-name/vendor /vendor ext4 ro,barrier=1 wait,slotselect
/dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,noauto_da_alloc wait,check,encryptable=footer
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/bootdevice/by-name/modem /firmware vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait,slotselect
/devices/soc/a800000.ssusb/a800000.dwc3* auto vfat defaults voldmanaged=usb:auto