diff options
author | jkh <jkh@FreeBSD.org> | 1996-11-06 13:52:57 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-11-06 13:52:57 +0000 |
commit | ea71174ad4aac6d875c04a8aa97aa713f9c56b89 (patch) | |
tree | ec947373004a6f1f289674f20632c72549400380 | |
parent | 384dd8f6d7366875a96996555e496b2400b7fe56 (diff) | |
download | FreeBSD-src-ea71174ad4aac6d875c04a8aa97aa713f9c56b89.zip FreeBSD-src-ea71174ad4aac6d875c04a8aa97aa713f9c56b89.tar.gz |
Since Joerg reminded me, make a small change to this file in
order to allow the user to also say:
burncd mybigimage dummy
To enable a dummy burn. Saves on blanks during testing. :)
-rwxr-xr-x | share/examples/worm/burncd.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/share/examples/worm/burncd.sh b/share/examples/worm/burncd.sh index c838205..1a7d8d6 100755 --- a/share/examples/worm/burncd.sh +++ b/share/examples/worm/burncd.sh @@ -30,10 +30,11 @@ elif [ "`id -u`" != "0" ]; then else echo -n "Place CD in the worm drive now and press return: " read junk + fname=$1; shift scsi -f /dev/rworm0.ctl -c "0 0 0 0 0 0" >/dev/null 2>&1 wormcontrol select HP 4020i - wormcontrol prepdisk double + wormcontrol prepdisk double $* wormcontrol track data - rtprio 5 team -v 1m 5 < $1 | rtprio 5 dd of=/dev/rworm0 obs=20k + rtprio 5 team -v 1m 5 < $fname | rtprio 5 dd of=/dev/rworm0 obs=20k wormcontrol fixate 1 fi |