ddif=/dev/block/mmcblk0p1 of=/mnt/sda/sda1/mmcblk0p1
ddif=/dev/block/mmcblk0p2 of=/mnt/sda/sda1/mmcblk0p2
ddif=/dev/block/mmcblk0p3 of=/mnt/sda/sda1/mmcblk0p3
ddif=/dev/block/mmcblk0p4 of=/mnt/sda/sda1/mmcblk0p4
最后的代碼中有4句,請問只需備份mmcblk0p1,mmcblk0p2,mmcblk0p3,mmcblk0p4這4個?還是全部都要備份?
以下是ls -al后顯示的內容
shell@Hi3798MV300:/dev/block $ ls -al
ls -al
brw------- root root 7, 0 1970-01-01 08:00 loop0
brw------- root root 7, 1 1970-01-01 08:00 loop1
brw------- root root 7, 2 1970-01-01 08:00 loop2
brw------- root root 7, 3 1970-01-01 08:00 loop3
brw------- root root 7, 4 1970-01-01 08:00 loop4
brw------- root root 7, 5 1970-01-01 08:00 loop5
brw------- root root 7, 6 1970-01-01 08:00 loop6
brw------- root root 7, 7 1970-01-01 08:00 loop7
brw------- root root 179, 0 1970-01-01 08:00 mmcblk0
brw------- root root 179, 8 1970-01-01 08:00 mmcblk0boot0
brw------- root root 179, 16 1970-01-01 08:00 mmcblk0boot1
brw------- root root 179, 1 1970-01-01 08:00 mmcblk0p1
brw------- root root 259, 2 1970-01-01 08:00 mmcblk0p10
brw------- root root 259, 3 1970-01-01 08:00 mmcblk0p11
brw------- root root 259, 4 1970-01-01 08:00 mmcblk0p12
brw------- root root 259, 5 1970-01-01 08:00 mmcblk0p13
brw------- root root 259, 6 1970-01-01 08:00 mmcblk0p14
brw------- root root 259, 7 1970-01-01 08:00 mmcblk0p15
brw------- root root 259, 8 1970-01-01 08:00 mmcblk0p16
brw------- root root 179, 2 1970-01-01 08:00 mmcblk0p2
brw------- root root 179, 3 1970-01-01 08:00 mmcblk0p3
brw------- root root 179, 4 1970-01-01 08:00 mmcblk0p4
brw------- root root 179, 5 1970-01-01 08:00 mmcblk0p5
brw------- root root 179, 6 1970-01-01 08:00 mmcblk0p6
brw------- root root 179, 7 1970-01-01 08:00 mmcblk0p7
brw------- root root 259, 0 1970-01-01 08:00 mmcblk0p8
brw------- root root 259, 1 1970-01-01 08:00 mmcblk0p9
brw------- root root 179, 24 1970-01-01 08:00 mmcblk0rpmb
drwxr-xr-x root root 1970-01-01 08:00 platform
brw------- root root 1, 0 1970-01-01 08:00 ram0
brw------- root root 1, 1 1970-01-01 08:00 ram1
brw------- root root 1, 10 1970-01-01 08:00 ram10
brw------- root root 1, 11 1970-01-01 08:00 ram11
brw------- root root 1, 12 1970-01-01 08:00 ram12
brw------- root root 1, 13 1970-01-01 08:00 ram13
brw------- root root 1, 14 1970-01-01 08:00 ram14
brw------- root root 1, 15 1970-01-01 08:00 ram15
brw------- root root 1, 2 1970-01-01 08:00 ram2
brw------- root root 1, 3 1970-01-01 08:00 ram3
brw------- root root 1, 4 1970-01-01 08:00 ram4
brw------- root root 1, 5 1970-01-01 08:00 ram5
brw------- root root 1, 6 1970-01-01 08:00 ram6
brw------- root root 1, 7 1970-01-01 08:00 ram7
brw------- root root 1, 8 1970-01-01 08:00 ram8
brw------- root root 1, 9 1970-01-01 08:00 ram9
drwxr-xr-x root root 2023-08-09 20:18 vold
brw------- root root 254, 0 1970-01-01 08:00 zram0
shell@Hi3798MV300:/dev/block $ |