Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name="/dev/mmcblk0"
- image="<name>.img"
- df -h | grep $name | while read line ; do echo ${line:0:14} ; done | while read line ; do umount $line ; done
- dd bs=4M if=$image of=$name
- sync
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement