cat /proc/mounts,可通过adb shell "cat /proc/mounts" > D:\tmp\mounts.txt得到挂载的分区信息,比如

Android查看挂载的分区(如oem)

以高通平台烧录系统的rawprogram0_unsparse.xml为例,program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="oem.img" label="oem" num_partition_sectors="524288"

如果filename="",也就是不烧录oem.img,则没有/dev/block/bootdevice/by-name/oem /oem ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0

虽然也有oem目录,并没有内容挂载到挂载点oem。

Android查看挂载的分区(如oem)

如果filename="oem.img",cat /proc/mounts时,能看到/dev/block/bootdevice/by-name/oem /oem ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0

Android查看挂载的分区(如oem)

相关链接:

https://www.jianshu.com/p/24bd666bb02f

 

相关文章:

  • 2021-11-15
  • 2022-03-14
  • 2022-12-23
  • 2022-12-23
  • 2021-06-28
  • 2021-08-22
  • 2021-10-03
猜你喜欢
  • 2021-11-22
  • 2021-12-01
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2021-10-10
相关资源
相似解决方案