projects
/
backups
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Better dd command
[backups/.git]
/
scripts
/
drive.sh
diff --git
a/scripts/drive.sh
b/scripts/drive.sh
index a75c20f49bd3aff8d230e581f5f885f413f662cc..1693212a8c5b422e9b229b2e9583b73beed1df78 100755
(executable)
--- a/
scripts/drive.sh
+++ b/
scripts/drive.sh
@@
-21,7
+21,7
@@
touch $isoimage
# chmod 600 $isoimage
# Create filesystem on iso image here
-dd if=/dev/
zero of=$isoimage bs=2048k count
=2220
+dd if=/dev/
null of=$isoimage bs=2048k count=0 seek
=2220
mke2fs -b 2048 -F $isoimage
echo "Mounting the iso image"