added some output to make this more usable
[feisty_meow.git] / scripts / rip_burn / blu_burn.sh
index 26f071b53109dac0ba7f4f576969d5fd8efaa798..8d6863875b1564ffca31f4e52191c840ec3e477f 100644 (file)
@@ -1,5 +1,9 @@
 #!/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"
@@ -27,7 +31,13 @@ if [ ! -b "$device_name" ]; then
   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' !"