-
Notifications
You must be signed in to change notification settings - Fork 3
/
fstab.qcom
32 lines (27 loc) · 4.31 KB
/
fstab.qcom
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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
# NOTE: /system and /vendor partitions are now early-mounted and the fstab entry is specified in device tree (duplicated below for recovery image purposes only):
# /proc/device-tree/firmware/android/fstab/system
# /proc/device-tree/firmware/android/fstab/vendor
#TODO: Add 'check' as fs_mgr_flags with data partition.
# Currently we dont have e2fsck compiled. So fs check would failed.
# Non-A/B fstab.qcom variant
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
system /system ext4 ro,barrier=1 wait,logical,first_stage_mount,readahead_size_kb=128
system_ext /system_ext ext4 ro,barrier=1 wait,logical,first_stage_mount,readahead_size_kb=128
vendor /vendor ext4 ro,barrier=1 wait,logical,first_stage_mount,readahead_size_kb=128
product /product ext4 ro,barrier=1 wait,logical,first_stage_mount,readahead_size_kb=128
odm /odm ext4 ro,barrier=1 wait,logical,first_stage_mount,readahead_size_kb=128
/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,fsync_mode=nobarrier,discard,noatime,lazytime latemount,wait,check,formattable,fileencryption=aes-256-xts:aes-256-cts:v2+emmc_optimized,quota,reservedsize=128M,readahead_size_kb=128,checkpoint=fs
/dev/block/by-name/logdump /metadata ext4 noatime,nosuid,nodev,discard wait,check,formattable,first_stage_mount
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/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:firmware_file:s0 wait
/dev/block/bootdevice/by-name/bluetooth /vendor/bt_firmware vfat ro,shortname=lower,uid=1002,gid=3002,dmask=227,fmask=337,context=u:object_r:bt_firmware_file:s0 wait
/devices/platform/soc/*.ssusb/*.dwc3/xhci-hcd.*.auto* /storage/usbotg vfat nosuid,nodev wait,voldmanaged=usbotg:auto
/dev/block/bootdevice/by-name/dsp /vendor/dsp ext4 ro,nosuid,nodev,barrier=1 wait
/dev/block/bootdevice/by-name/cache /cache ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard,noatime,lazytime wait
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,barrier=1 wait
/devices/platform/soc/c084000.sdhci/mmc_host* /storage/sdcard1 auto nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=userdata
/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults
/dev/block/zram0 none swap defaults zramsize=2147483648