Created
February 2, 2013 16:40
-
-
Save ngsw/4698170 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ write_target=`df -h | | |
| grep 'NO NAME$' | | |
| awk -F' ' '{print $1}' | | |
| sed -e 's/[a-z][0-9]$//g' -e 's/disk/rdisk/g'` | |
| $ diskutil unmount `df -h | | |
| grep 'NO NAME$' | | |
| awk -F' ' '{print $1}'` | |
| $ sudo time dd bs=1m \ | |
| if=2012-12-16-wheezy-raspbian.img \ | |
| of=${write_target} | |
| #result# | |
| 1850+0 records in | |
| 1850+0 records out | |
| 1939865600 bytes transferred in 93.960787 secs (20645481 bytes/sec) | |
| 93.98 real 0.00 user 1.45 sys | |
| #結構かかる |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
s/rapsberry/raspberry/