Dmitry Shmidt | 5d08080 | 2017-04-11 14:20:03 -0700 | [diff] [blame] | 1 | # Android fstab file. |
| 2 | #<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags> |
| 3 | # The filesystem that contains the filesystem checker binary (typically /system) cannot |
| 4 | # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK |
| 5 | |
| 6 | #/dev/block/platform/soc/ff3b0000.ufs/by-name/system_a /system ext4 ro wait |
Dmitry Shmidt | 6a6be17 | 2018-01-19 12:52:44 -0800 | [diff] [blame] | 7 | #/dev/block/platform/soc/ff3b0000.ufs/by-name/cache /cache ext4 discard,noauto_da_alloc,data=ordered,user_xattr,barrier=1 wait |
Dmitry Shmidt | 6a6be17 | 2018-01-19 12:52:44 -0800 | [diff] [blame] | 8 | #/dev/block/platform/soc/ff3b0000.ufs/by-name/userdata /data ext4 discard,noauto_da_alloc,data=ordered,user_xattr,barrier=1 wait |
Yongqin Liu | 6bb8567 | 2022-03-11 21:59:08 +0800 | [diff] [blame] | 9 | /dev/block/by-name/userdata /data ext4 discard,noatime,nosuid,nodev,noauto_da_alloc,data=ordered,user_xattr,barrier=1 latemount,wait,formattable,fileencryption=aes-256-xts,keydirectory=/metadata/vold/metadata_encryption,quota |
Yongqin Liu | e7e999f | 2022-06-09 00:10:03 +0800 | [diff] [blame] | 10 | # Use the old cache partition for /metadata in order to support metadata encryption |
John Stultz | 5d00778 | 2021-05-29 04:08:45 +0000 | [diff] [blame] | 11 | /dev/block/by-name/cache /metadata ext4 noatime,nosuid,nodev,discard wait,formattable,first_stage_mount,check |
Yongqin Liu | e7e999f | 2022-06-09 00:10:03 +0800 | [diff] [blame] | 12 | # since there is no misc partition created by the current prm_ptable file, |
| 13 | # and the vendor partition is not used after the dynamic partition support |
| 14 | # here use the vendor partition for the misc mountpoint as a temporary |
| 15 | # workaround for the bootcontrol hal enablement |
| 16 | /dev/block/by-name/vendor /misc emmc defaults defaults |
Dmitry Shmidt | 5d08080 | 2017-04-11 14:20:03 -0700 | [diff] [blame] | 17 | /devices/platform/soc/ff37f000.dwmmc1/mmc_host/mmc* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata |
John Stultz | a7e32aa | 2017-07-31 17:00:39 -0700 | [diff] [blame] | 18 | /devices/platform/soc/ff200000.hisi_usb/ff100000.dwc3/xhci-hcd.*.auto/usb* auto auto defaults voldmanaged=usbdisk:auto,encryptable=userdata |
Dmitry Shmidt | a13f816 | 2018-05-11 16:41:49 -0700 | [diff] [blame] | 19 | /devices/platform/soc/f4000000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/nvme/nvme* auto auto defaults voldmanaged=nvmedisk:auto,encryptable=userdata |
John Stultz | a8cd4d9 | 2021-02-02 04:31:01 +0000 | [diff] [blame] | 20 | system /system ext4 noatime,ro,errors=panic wait,logical,first_stage_mount,slotselect |
| 21 | vendor /vendor ext4 noatime,ro,errors=panic wait,logical,first_stage_mount,slotselect |
| 22 | system_ext /system_ext ext4 noatime,ro,errors=panic wait,logical,first_stage_mount,slotselect |
| 23 | product /product ext4 noatime,ro,errors=panic wait,logical,first_stage_mount,slotselect |