trying speed=2 for burning bluray again
[feisty_meow.git] / scripts / rip_burn / blu_burn.sh
index 33317c0e84fa9ca584f73b0b24d60341a6b2ea2e..67e57452a0055374d93775ed13c2c1bf1cd8f551 100644 (file)
@@ -1,6 +1,8 @@
 #!/bin/bash
 
-# burns a bluray disc image onto a physical medium.
+# burns a bluray or dvd data disc image onto a physical medium.
+
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
 
 function show_usage()
 {
@@ -29,9 +31,16 @@ if [ ! -b "$device_name" ]; then
   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}
-#used to be appended to above line: -speed=2 
-#trying with letting it go default speed.  has been working for us recently.
+echo "success burning '$iso_name' onto device '$device_name' !"