Better dd command
authorCarl Baldwin <cnb@ball.(none)>
Tue, 25 Oct 2005 22:10:29 +0000 (16:10 -0600)
committerCarl Baldwin <cnb@ball.(none)>
Tue, 25 Oct 2005 22:10:29 +0000 (16:10 -0600)
scripts/drive.sh

index a75c20f49bd3aff8d230e581f5f885f413f662cc..1693212a8c5b422e9b229b2e9583b73beed1df78 100755 (executable)
@@ -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"