# Android fstab file.
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

#TODO: Add 'check' as fs_mgr_flags with data partition.
# Currently we dont have e2fsck compiled. So fs check would failed.

#<src>                                      <mnt_point>              <type>  <mnt_flags and options>                                                            <fs_mgr_flags>
# /dev/block/bootdevice/by-name/system         /system                ext4    ro,barrier=1,discard                                                               wait
/dev/block/bootdevice/by-name/userdata       /data                   f2fs    rw,discard,nosuid,nodev,noatime,nodiratime,nobarrier,inline_xattr,inline_data      wait,check,formattable,encryptable=/dev/block/bootdevice/by-name/metadata,reservedsize=128M
/dev/block/bootdevice/by-name/cache          /cache                  ext4    rw,noatime,nosuid,nodev,barrier=1,data=ordered                                     wait,check,formattable
/dev/block/bootdevice/by-name/modem          /vendor/firmware_mnt    ext4    ro,nosuid,nodev,barrier=0                                                          wait
/dev/block/bootdevice/by-name/fsg            /fsg                    ext4    ro,nosuid,nodev                                                                    wait
/dev/block/bootdevice/by-name/dsp            /vendor/dsp             ext4    ro,nosuid,nodev,barrier=1                                                          wait
/dev/block/bootdevice/by-name/persist        /mnt/vendor/persist     ext4    nosuid,nodev,barrier=1,noatime,noauto_da_alloc                                     wait
/dev/block/bootdevice/by-name/boot           /boot                   emmc    defaults                                                                           recoveryonly
/dev/block/bootdevice/by-name/recovery       /recovery               emmc    defaults                                                                           recoveryonly
/dev/block/bootdevice/by-name/misc           /misc                   emmc    defaults                                                                           defaults
/mnt/vendor/persist                          /persist                none    bind                                                                               wait

/devices/soc/7864900.sdhci/mmc_host*         auto         auto    nosuid,nodev                                                                       wait,voldmanaged=sdcard1:auto,encryptable=userdata
/devices/*/xhci-hcd.*.auto/usb*              auto         auto    defaults                                                                           voldmanaged=usb:auto
/dev/block/zram0                             none         swap    defaults                                                                           zramsize=536870912,max_comp_streams=4
