summaryrefslogtreecommitdiff
path: root/bin/write-image
diff options
context:
space:
mode:
Diffstat (limited to 'bin/write-image')
-rwxr-xr-xbin/write-image4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/write-image b/bin/write-image
new file mode 100755
index 0000000..0091580
--- /dev/null
+++ b/bin/write-image
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+
+# Make sure you have GNU dd as it supports much larger block sizes
+sudo gdd if=$1 of=$2 bs=4M status=progress conv=fsync