#!/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
-echo iso "$iso_name" dev "$device_name"
+echo "burning disk from image '$iso_name' on device '$device_name'..."
+#echo iso "$iso_name" dev "$device_name"
+
+growisofs -dvd-compat -speed=2 -Z ${device_name}=${iso_name}
+#hmmm:
+# 1) trying with letting it go default speed. has been working for us recently.
+# 2) lots of failures on bluray burns recently; trying dropping the speed back to 2.
+# 2024-01-14
+
+exit_on_error growing ISO FS from image ${iso_name}
-growisofs -dvd-compat -Z ${device_name}=${iso_name}
-#trying with letting it go default speed. has been working for us recently. -speed=2
+echo "success burning '$iso_name' onto device '$device_name' !"