Skip to content

Instantly share code, notes, and snippets.

@fobos531
Created February 27, 2017 10:47
Show Gist options
  • Save fobos531/f37590af7707474cd1f40f05771cf490 to your computer and use it in GitHub Desktop.
Save fobos531/f37590af7707474cd1f40f05771cf490 to your computer and use it in GitHub Desktop.
# 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>
/devices/soc.0/7864900.sdhci/mmc_host /storage/external_SD vfat nosuid,nodev wait,voldmanaged=external_SD:auto
/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1,discard wait,check
/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard wait,check,encryptable=/dev/block/bootdevice/by-name/encrypt
/dev/block/bootdevice/by-name/persist /persist ext4 nosuid,nodev,barrier=1 wait,check
/dev/block/bootdevice/by-name/cache /cache ext4 nosuid,nodev,barrier=1 wait,check
/dev/block/bootdevice/by-name/drm /persist-lg ext4 nosuid,nodev,barrier=1,noatime,noauto_da_alloc,errors=continue wait,check
/dev/block/bootdevice/by-name/sns /sns ext4 nosuid,nodev,barrier=1,noatime,noauto_da_alloc,errors=continue wait,check
/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults
/dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment