Michael Bestas | 0134c1e | 2023-08-30 13:51:03 +0300 | [diff] [blame] | 1 | # Copyright (c) 2019-2020 The Linux Foundation. All rights reserved. |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 2 | # |
| 3 | # Redistribution and use in source and binary forms, with or without |
Michael Bestas | 0134c1e | 2023-08-30 13:51:03 +0300 | [diff] [blame] | 4 | # modification, are permitted (subject to the limitations in the |
| 5 | # disclaimer below) provided that the following conditions are met: |
| 6 | # |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 7 | # * Redistributions of source code must retain the above copyright |
| 8 | # notice, this list of conditions and the following disclaimer. |
Michael Bestas | 0134c1e | 2023-08-30 13:51:03 +0300 | [diff] [blame] | 9 | # |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 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. |
Michael Bestas | 0134c1e | 2023-08-30 13:51:03 +0300 | [diff] [blame] | 14 | # |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 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 | # |
Michael Bestas | 0134c1e | 2023-08-30 13:51:03 +0300 | [diff] [blame] | 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 |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 22 | # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
Michael Bestas | 0134c1e | 2023-08-30 13:51:03 +0300 | [diff] [blame] | 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 |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 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> |
Michael Bestas | 0134c1e | 2023-08-30 13:51:03 +0300 | [diff] [blame] | 38 | system /system ext4 ro,barrier=1,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey |
| 39 | system_ext /system_ext ext4 ro,barrier=1,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 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 |
| 42 | odm /odm ext4 ro,barrier=1,discard wait,slotselect,avb,logical,first_stage_mount |
Michael Bestas | 9bb5a14 | 2024-05-29 00:19:57 +0300 | [diff] [blame] | 43 | /dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard,sync,data=journal wait,check,formattable,first_stage_mount |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 44 | /dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,barrier=1 wait |
Michael Bestas | 0134c1e | 2023-08-30 13:51:03 +0300 | [diff] [blame] | 45 | /dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,inlinecrypt,reserve_root=32768,resgid=1065,fsync_mode=nobarrier 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 |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 46 | /dev/block/bootdevice/by-name/misc /misc emmc defaults defaults |
| 47 | /devices/platform/soc/8804000.sdhci/mmc_host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=footer |
| 48 | /devices/platform/soc/1da4000.ufshc_card/host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=footer |
Michael Bestas | 0134c1e | 2023-08-30 13:51:03 +0300 | [diff] [blame] | 49 | /devices/platform/soc/*.ssusb/*.dwc3/xhci-hcd.*.auto* /storage/usbotg vfat nosuid,nodev wait,voldmanaged=usbotg:auto |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 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 |
| 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 |
Michael Bestas | 0134c1e | 2023-08-30 13:51:03 +0300 | [diff] [blame] | 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 |