X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=scripts%2Fdrive.sh;h=dbe6b0b7e074349605af6124c4479e5b05a47ad0;hb=6bf84dfd36b859d1bb2cf43f2fc998eee3fd65cc;hp=4ea1e54d77ef957e0b96617bd2ecfd99f32e0304;hpb=11b38584ce4c12e7a83c1cb206fa87141f74de5c;p=backups%2F.git diff --git a/scripts/drive.sh b/scripts/drive.sh index 4ea1e54..dbe6b0b 100755 --- a/scripts/drive.sh +++ b/scripts/drive.sh @@ -1,9 +1,8 @@ #!/bin/bash scriptsdir=$(dirname $0) -bindir="$scriptsdir/../build" -export PATH=$scriptsdir:$bindir:$PATH +export PATH=$scriptsdir:$PATH # file locations and other values today=$(date +%Y%m%d%H%M%S) @@ -22,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"