#!/bin/bash
+# burns a bluray or dvd data disc image onto a physical medium.
+
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+
function show_usage()
{
echo "This script needs two parameters, (1) an ISO file that provides the"
exit 3
fi
-"$iso_name" "$device_name"
+echo "burning disk from image '$iso_name' on device '$device_name'..."
+#echo iso "$iso_name" dev "$device_name"
+
+growisofs -dvd-compat -Z ${device_name}=${iso_name}
+#used to be appended to above line: -speed=2
+#trying with letting it go default speed. has been working for us recently.
+exit_on_error growing ISO FS from image ${iso_name}
-growisofs -speed=2 -dvd-compat -Z ${device_name}=${iso_name}
+echo "success burning '$iso_name' onto device '$device_name' !"