如下: cat mtd |grep app |awk '{sub(/mtd/,"/dev/mtdblock",$1);sub(/:/,"",$1);print $1}' |xargs mount -t yaffs /root