This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

脚本认识



在使用 安卓制作 SD 卡启动的命令 : ./mkmmc-android.sh /dev/sdb MLO u-boot.img uImage uEnv.txt rootfs.tar.bz2 

分析了 mkmmc-android.sh,其中,下面的语句,不懂

echo CYLINDERS - $CYLINDERS
{
echo ,9,0x0C,*
echo ,$(expr $CYLINDERS / 4),,-
echo ,$(expr $CYLINDERS / 4),,-
echo ,,0x0C,-
} | sfdisk -D -H 255 -S 63 -C $CYLINDERS $DRIVE &> /dev/null

 括号里面的 echo 出来的值,不知道有什么作用,从而来实现四个分区?特别是 9,0x0c