#1123113 dvd+rw-format: -ssa argument is not allowed for BD-R, but should be

Package:
dvd+rw-tools
Source:
dvd+rw-tools
Description:
DVD+-RW/R tools
Submitter:
Mykhailo Mishchenko
Date:
2025-12-16 19:44:01 UTC
Severity:
normal
Tags:
#1123113#5
Date:
2025-12-16 19:34:56 UTC
From:
To:
Dear Maintainer,

I was trying to format a BD-R DL disk with a non-default spare
area. To my surprise, my attempt failed with following error:
"- illegal command-line option for this media.". This error
contradicted the upstream documentation which now can be found in
WebArchive at
https://web.archive.org/web/20240805233642/http://fy.chalmers.se/~appro/linux/DVD+RW/Blu-ray/
.

After examinimg the source code and poking with GDB I have found out
that there is code which actually uses the `-ssa` argument with BD-R,
but error happens before reaching that point. After applying fixes
which you can find in the attached patch I was able to successfully
format a BD-R DL disk with non-default spare area and burn data on it
afterwards.

Thank you for the time you are investing in maintaining this software!

Mykhailo Mishchenko