标签:lin controls sudo disk bsp ide empty 嵌入式 ras
备份:
sudo dd if=/dev/sdc | gzip>raspberry.gz
恢复:
sudo gzip -dc raspberry.gz | sudo dd of=/dev/sdc
查看TF卡对应设备:
diskutil list
----------------------
/dev/disk5 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: *31.1 GB disk5
查看TF是否挂载分区,如果挂载,卸载:
df -h
sudo diskutil unmount /dev/disk5s1
备份:
sudo dd if=/dev/rdiskx bs=1m | gzip>raspberry.gz
恢复:
gzip -dc raspberry.gz| sudo dd of=/dev/rdiskx bs=1m
标签:lin controls sudo disk bsp ide empty 嵌入式 ras
原文地址:https://www.cnblogs.com/springwind2006/p/13958487.html