micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 1 | # Copyright (c) 2019-2020 The Linux Foundation. All rights reserved. |
| 2 | # |
| 3 | # Redistribution and use in source and binary forms, with or without |
| 4 | # modification, are permitted (subject to the limitations in the |
| 5 | # disclaimer below) provided that the following conditions are met: |
| 6 | # |
| 7 | # * Redistributions of source code must retain the above copyright |
| 8 | # notice, this list of conditions and the following disclaimer. |
| 9 | # |
| 10 | # * Redistributions in binary form must reproduce the above |
| 11 | # copyright notice, this list of conditions and the following |
| 12 | # disclaimer in the documentation and/or other materials provided |
| 13 | # with the distribution. |
| 14 | # |
| 15 | # * Neither the name of The Linux Foundation nor the names of its |
| 16 | # contributors may be used to endorse or promote products derived |
| 17 | # from this software without specific prior written permission. |
| 18 | # |
| 19 | # NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE |
| 20 | # GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT |
| 21 | # HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED |
| 22 | # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 23 | # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| 24 | # IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR |
| 25 | # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 26 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
| 27 | # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 28 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER |
| 29 | # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| 31 | # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 32 | |
| 33 | # Android fstab file. |
| 34 | # The filesystem that contains the filesystem checker binary (typically /system) cannot |
| 35 | # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK |
| 36 | |
| 37 | #<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags> |
micky387 | 53c5c53 | 2022-11-25 19:29:50 +0100 | [diff] [blame] | 38 | system /system ext4 ro,barrier=1,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 39 | system_ext /system_ext ext4 ro,barrier=1,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount |
| 40 | product /product ext4 ro,barrier=1,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount |
| 41 | vendor /vendor ext4 ro,barrier=1,discard wait,slotselect,avb,logical,first_stage_mount |
Alexander Koskovich | 3e4efc5 | 2022-01-22 22:22:06 -0700 | [diff] [blame] | 42 | vendor_dlkm /vendor_dlkm ext4 ro,barrier=1,discard wait,slotselect,avb,logical,first_stage_mount |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 43 | odm /odm ext4 ro,barrier=1,discard wait,slotselect,avb,logical,first_stage_mount |
| 44 | /dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,check,formattable,first_stage_mount |
| 45 | /dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,barrier=1 wait |
micky387 | 62e7371 | 2022-11-03 13:13:29 +0100 | [diff] [blame] | 46 | /dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier,inlinecrypt latemount,wait,check,formattable,fileencryption=aes-256-xts:aes-256-cts:v2+inlinecrypt_optimized+wrappedkey_v0,keydirectory=/metadata/vold/metadata_encryption,metadata_encryption=aes-256-xts:wrappedkey_v0,quota,reservedsize=128M,sysfs_path=/sys/devices/platform/soc/1d84000.ufshc,checkpoint=fs |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 47 | /dev/block/bootdevice/by-name/misc /misc emmc defaults defaults |
| 48 | /devices/platform/soc/8804000.sdhci/mmc_host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 49 | /devices/platform/soc/*.ssusb/*.dwc3/xhci-hcd.*.auto* /storage/usbotg vfat nosuid,nodev wait,voldmanaged=usbotg:auto |
| 50 | /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,slotselect |
| 51 | /dev/block/bootdevice/by-name/dsp /vendor/dsp ext4 ro,nosuid,nodev,barrier=1 wait,slotselect |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 52 | /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,slotselect |
| 53 | /dev/block/bootdevice/by-name/qmcs /mnt/vendor/qmcs vfat noatime,nosuid,nodev,context=u:object_r:vendor_qmcs_file:s0 wait,check,formattable |
micky387 | 62e7371 | 2022-11-03 13:13:29 +0100 | [diff] [blame] | 54 | /dev/block/bootdevice/by-name/asusfw /vendor/asusfw ext4 ro,nosuid,noatime,nodev,barrier=1,noauto_da_alloc wait,slotselect |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 55 | /dev/block/bootdevice/by-name/xrom /vendor/xrom ext4 ro,nosuid,noatime,nodev,barrier=1,noauto_da_alloc wait,slotselect |
micky387 | 62e7371 | 2022-11-03 13:13:29 +0100 | [diff] [blame] | 56 | |