D:\tmp\mounts.txt得到挂载的分区信息,比如以高通平台烧录系统的rawprogram0_unsparse.xml为例,program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="oem.img" label="oem" num_partition_sectors="524288"如果filename=_android">
赞
踩
cat /proc/mounts,可通过adb shell "cat /proc/mounts" > D:\tmp\mounts.txt得到挂载的分区信息,比如
以高通平台烧录系统的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。
如果filename="oem.img",cat /proc/mounts时,能看到/dev/block/bootdevice/by-name/oem /oem ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
相关链接:
https://www.jianshu.com/p/24bd666bb02f
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。