X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frip_burn%2Fblu_burn.sh;h=f862798d93acedbbb1d482a6b0a887b9b5d26cc9;hb=refs%2Fheads%2Fmain;hp=def769c09e603270b1920dfa738ecc5a0cb52ca8;hpb=43f2c3d09f04ddb4218fd5e9c12ae5fd427697c0;p=feisty_meow.git diff --git a/scripts/rip_burn/blu_burn.sh b/scripts/rip_burn/blu_burn.sh index def769c0..550a81de 100644 --- a/scripts/rip_burn/blu_burn.sh +++ b/scripts/rip_burn/blu_burn.sh @@ -1,4 +1,8 @@ -#!/bin/bash +#!/usr/bin/env 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() { @@ -27,7 +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 -speed=2 -dvd-compat -Z ${device_name}=${iso_name} +echo "success burning '$iso_name' onto device '$device_name' !"