문제

When looking at the update that was released for Android 4.2.2 (see link ), I was trying to understand the scipt file they wrote.

It contains:

mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "/system");

I am new to writing such script files. I know linux has a mount command. How do the four arguments above relate to linux mount command and what do they mean ?

도움이 되었습니까?

해결책

So android update zip file are typically written in edify script (may vary depending on what recovery image you have). Some sources for reading

http://forum.xda-developers.com/galaxy-nexus/themes-apps/tutorial-making-flashable-zips-edify-t1611615

http://forum.xda-developers.com/wiki/Edify_script_language

다른 팁

mount parameters are:

  1. FS type (any supported file system)
  2. partition type (EMMC or MTD)
  3. partition (block device) to mount
  4. mount point
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top