Hi,
> 1) iso=/home/ddval/Downloads/bionicpup64-8.0-uefi.iso
> 2) xorriso -as mkisofs -v -J -r -V MY_DISK_LABEL -o my.iso /"$iso"
> 3) xorriso -as cdrecord -v dev=/dev/sr0 -eject "$iso"
What is the purpose of step 2 ? It creates a file "my.iso", but then
you burn the original "$iso" to DVD.
"my.iso" would not boot, btw, because it lacks boot records which
direct the firmware to the bootloader programs in the ISO.
Examples of how Debian makes its ISOs can be seen at
https://wiki.debian.org/RepackBootableISO
> A question: When code begins "xorriso -as cdrecord" does this indicate
> a wrapper placed about cdrecord, and xorriso has taken a sudo position?
> This probably makes no sense :-(
No. It does not.
-as "cdrecord" is a xorriso command which interprets its parameters
roughly as cdrecord would do with its options. But then it uses
xorriso's internal capabilities to perform the job.
No source code from cdrecord was taken and no cdrecord program is involved.
The burn capabilities of xorriso are restricted to burning sessions of
a single data track each to CD, DVD, or BD media.
cdrecord can write audio CDs, which usually consist of multiple tracks
and are not readable as data. It can burn DVD and BD, too.
Have a nice day
Thomas