首页 > 其他分享 >/vendor/etc/fstab.qcom

/vendor/etc/fstab.qcom

时间:2024-02-18 14:36:49浏览次数:27  
标签:vendor name bootdevice fstab etc wait nosuid block nodev

CN:/ # cat /vendor/etc/fstab.qcom
# 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

#TODO: Add 'check' as fs_mgr_flags with data partition.
# Currently we dont have e2fsck compiled. So fs check would failed.

#<src>                                                 <mnt_point>               <type>  <mnt_flags and options>                            <fs_mgr_flags>
/dev/block/bootdevice/by-name/system                    /                        ext4    ro,barrier=1,discard                                 wait,avb
#ifndef VENDOR_EDIT
#[email protected], close fbe/fde temporary for secure boot,2019/03/28
#/dev/block/bootdevice/by-name/userdata                  /data                    ext4    noatime,nosuid,noatime,nodev,barrier=1,noauto_da_alloc,discard,lazytime       wait,check,forceencrypt=footer,quota,reservedsize=128M
#else
#[email protected], 2019/03/28, Add for errors=panic  and FBE
/dev/block/bootdevice/by-name/cache                     /cache                   ext4    nosuid,noatime,nodev,barrier=1,async_discard                               wait,check
/dev/block/bootdevice/by-name/userdata                  /data                    ext4    noatime,nosuid,noatime,nodev,barrier=1,noauto_da_alloc,async_discard,lazytime,errors=panic       latemount,wait,check,fileencryption=ice,resize,quota,reservedsize=128M
#endif
#ifndef VENDOR_EDIT
#[email protected], 2019/03/28, Add for
#/dev/block/bootdevice/by-name/cache                     /cache                   ext4    nosuid,noatime,nodev,barrier=1                               wait
#/devices/platform/soc/8804000.sdhci/mmc_host*           /storage/sdcard1         vfat    nosuid,nodev                                         wait,voldmanaged=sdcard1:auto,encryptable=footer
#/devices/platform/soc/1da4000.ufshc_card/host*          /storage/sdcard1         vfat    nosuid,nodev                                         wait,voldmanaged=sdcard1:auto,encryptable=footer
#else
/devices/platform/soc/8804000.sdhci/mmc_host*           /storage/sdcard1         vfat    nosuid,nodev                                         wait,voldmanaged=sdcard1:auto
/devices/platform/soc/1da4000.ufshc_card/host*          /storage/sdcard1         vfat    nosuid,nodev                                         wait,voldmanaged=sdcard1:auto
#endif/*VENDOR_EDIT*/
/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
#ifndef VENDOR_EDIT
#//[email protected], 2018-11-26 add for ext4 async discard suppot
#/dev/block/bootdevice/by-name/dsp                       /vendor/dsp              ext4    ro,nosuid,nodev,barrier=1                            wait
#else
/dev/block/bootdevice/by-name/dsp                       /vendor/dsp              ext4    ro,nosuid,nodev,barrier=1,async_discard                            wait
#endif
#ifndef VENDOR_EDIT
#[email protected], 2018/06/20, Add for add check mount flag for avoiding persist partition damage
#/dev/block/bootdevice/by-name/persist                   /mnt/vendor/persist               ext4    nosuid,noatime,nodev,barrier=1                       wait
#else
/dev/block/bootdevice/by-name/persist                   /mnt/vendor/persist               ext4    nosuid,noatime,nodev,barrier=1,async_discard                       wait,check
#endif/*VENDOR_EDIT*/
/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
# Need to have this entry in here even though the mount point itself is no longer needed.
# The update_engine code looks for this entry in order to determine the boot device address
# and fails if it does not find it.
/dev/block/bootdevice/by-name/misc                      /misc              emmc    defaults                                             defaults
/devices/platform/soc/a600000.ssusb/a600000.dwc3/xhci-hcd.*.auto*     /storage/usbotg    vfat    nosuid,nodev    wait,voldmanaged=usbotg:auto
#ifdef VENDOR_EDIT
#[email protected], 2017/12/29, Add for new reserve partition
/dev/block/bootdevice/by-name/opporeserve2      /mnt/vendor/opporeserve             ext4   nosuid,nodev,noatime,barrier=1,async_discard                           wait,check
#endif

 

标签:vendor,name,bootdevice,fstab,etc,wait,nosuid,block,nodev
From: https://www.cnblogs.com/hhdom/p/18019243

相关文章

  • Leetcode 11-15题
    盛最多雨水的容器数组的第\(i\)个数字表示这个位置隔板的高度,选择哪两块板子可以装最多的水,返回可以存储的最大水量。有一种双指针的贪心策略:如果左边的指针所在的挡板低,就将左边的指针右移,否则将右边的指针左移。每次移动完之后,计算当前能存储的水量,并和结果值相比较。证明......
  • 滑动窗口 leetcode 76
    Problem:76.最小覆盖子串目录思路解题方法复杂度Code思路第一次遇到不看题解我是写不出来,主要是ans是不断变化的解题方法用两个指针,left缩小区间,right扩大区间,直到产生冗余元素开始,缩减left,直到不能再缩减为止,取满足的最小字串就好了复杂度时间复杂度:\(O(n)\)空......
  • leetcode--11. 盛最多水的容器(双指针)
    记录19:462024-2-15https://leetcode.cn/problems/container-with-most-water/利用双指针来解,一个在头,一个在尾,每次最小的那个进行移动,然后计算出容积。ps:刚开始想到了用单调栈来解决,但这道题和单调栈那个例题还不一样。然后暴力解当然超时了,然后学习到了双指针(..双指针应......
  • Leetcode 1-5题
    两数之和给定一个整数数组和一个目标值,在数组中找出和为目标值的两个整数,并返回其数组下标。题目确保必存在一个答案,且数组中无重复元素。数组长度为\([2,10^4]\)可以采用哈希表来存储每个值以及其出现的下标,那么对于nums[i]只需要查询在数组中是否出现过target-nums[i]即可......
  • leetcode 49 字母异位词分组
      需要好好研究各种写法。C++解法classSolution{public:vector<vector<string>>groupAnagrams(vector<string>&strs){vector<vector<string>>result;if(strs.size()==0)returnresult;unordered_map<......
  • leetcode 17 电话号码的字母组合
     解题关键点:用递归方法classSolution{public:vector<string>mapping={"abc","def","ghi","jkl","mno","pqrs","tuv","wxyz"};voidcom......
  • leetcode 438 找到字符串中所有字母异位词
     这个题目的有些类似实现strStr这个算法题目。解题关键点:1.采用类似滑动窗口的算法遍历字符串s。2.用两个哈希表保存字符串s和字符串p,中每个小写字母出现的次数。C++代码:classSolution{public:boolequals(vector<int>&sc,vector<int>&pc){for......
  • leetcode——数组算法——前缀和构建和应用
    leetcode——数组算法——前缀和构建和应用前缀和技巧适用于快速、频繁地计算一个索引区间内的元素之和303.区域和检索-数组不可变比如leetcode303.区域和(检索-数组不可变)题目介绍:给定一个整数数组nums,处理以下类型的多个查询:计算索引left和right(包含left......
  • 开源.NetCore通用工具库Xmtool使用连载 - OSS文件上传篇
    【Github源码】《上一篇》介绍了Xmtool工具库中的图像处理类库,今天我们继续为大家介绍其中的OSS文件上传类库。将本地文件上传到服务器是软件系统经常会遇到的需求,例如:设置用户头像,上传Excel报表等等;涉及到网络访问性能、存储空间等因素的考虑,通常我们会选择使用第三方的对象......
  • [LeetCode] 2108. Find First Palindromic String in the Array
    Givenanarrayofstringswords,returnthefirstpalindromicstringinthearray.Ifthereisnosuchstring,returnanemptystring"".Astringispalindromicifitreadsthesameforwardandbackward.Example1:Input:words=["abc&quo......