recovery.fstab 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # Copyright (c) 2018-2019 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. # Android fstab file.
  33. # The filesystem that contains the filesystem checker binary (typically /system) cannot
  34. # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
  35. #<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
  36. # Erofs
  37. system /system erofs ro wait,logical,first_stage_mount
  38. vendor /vendor erofs ro wait,logical,first_stage_mount
  39. system_ext /system_ext erofs ro wait,logical,first_stage_mount
  40. vendor_dlkm /vendor_dlkm erofs ro wait,logical,first_stage_mount
  41. product /product erofs ro wait,logical,first_stage_mount
  42. odm /odm erofs ro wait,logical,first_stage_mount
  43. system_dlkm /system_dlkm erofs ro wait,logical,first_stage_mount
  44. # F2fs
  45. system /system f2fs ro wait,logical,first_stage_mount
  46. vendor /vendor f2fs ro wait,logical,first_stage_mount
  47. system_ext /system_ext f2fs ro wait,logical,first_stage_mount
  48. vendor_dlkm /vendor_dlkm f2fs ro wait,logical,first_stage_mount
  49. product /product f2fs ro wait,logical,first_stage_mount
  50. odm /odm f2fs ro wait,logical,first_stage_mount
  51. system_dlkm /system_dlkm f2fs ro wait,logical,first_stage_mount
  52. # Ext4
  53. system /system ext4 ro wait,logical,first_stage_mount
  54. vendor /vendor ext4 ro wait,logical,first_stage_mount
  55. system_ext /system_ext ext4 ro wait,logical,first_stage_mount
  56. vendor_dlkm /vendor_dlkm ext4 ro wait,logical,first_stage_mount
  57. product /product ext4 ro wait,logical,first_stage_mount
  58. odm /odm ext4 ro wait,logical,first_stage_mount
  59. system_dlkm /system_dlkm ext4 ro wait,logical,first_stage_mount
  60. # Userdata
  61. /dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic,sync wait,check,formattable,wrappedkey,first_stage_mount
  62. /dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,usrquota,grpquota,fsync_mode=nobarrier,reserve_root=32768,resgid=5678,whint_mode=fs-based,inlinecrypt latemount,wait,check,,quota,reservedsize=128M,sysfs_path=/sys/devices/platform/soc/1d84000.ufshc,checkpoint=fs,fscompress,fileencryption=aes-256-xts:aes-256-cts:v2+inlinecrypt_optimized+wrappedkey_v0,metadata_encryption=aes-256-xts:wrappedkey_v0,keydirectory=/metadata/vold/metadata_encryption
  63. /dev/block/bootdevice/by-name/misc /misc emmc defaults defaults,first_stage_mount
  64. /dev/block/bootdevice/by-name/cache /cache ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check