通过dd命令来裁剪分区
admin@OpenWrt:/tmp# cat /proc/mtd
dev: size erasesize name
mtd0: 00800000 00010000 "ALL"
mtd1: 00030000 00010000 "Bootloader"
mtd2: 00010000 00010000 "Config"
mtd3: 00010000 00010000 "Factory"
mtd4: 007b0000 00010000 "firmware"
mtd5: 0050321e 00010000 "rootfs"
mtd6: 00180000 00010000 "rootfs_data"
admin@OpenWrt:/tmp# dd if=/dev/mtd0 of=/tmp/ALL_042401
16384+0 records in
16384+0 records out
文章展示了在OpenWrt系统环境下,通过dd命令从mtd0分区读取数据并保存到/tmp/ALL_042401的过程。mtd设备包括Bootloader、Config、Factory、firmware、rootfs和rootfs_data等多个分区。
2万+

被折叠的 条评论
为什么被折叠?



