[Pkg-opt-media-team] Bug#1123113: dvd+rw-format: -ssa argument is not allowed for BD-R, but should be

Mykhailo Mishchenko mdmisch at firemail.cc
Tue Dec 16 19:34:56 GMT 2025


Package: dvd+rw-tools
Version: 7.1-14+b2
Severity: normal
Tags: patch

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

-- System Information:
Debian Release: 13.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.57+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8), LANGUAGE 
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dvd+rw-tools depends on:
ii genisoimage 9:1.1.11-4
ii growisofs 7.1-14+b2
ii libc6 2.41-12
ii libstdc++6 14.2.0-19

dvd+rw-tools recommends no packages.

Versions of packages dvd+rw-tools suggests:
pn cdrskin

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_format_bd-r_disks.diff
Type: text/x-patch
Size: 1353 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-opt-media-team/attachments/20251216/56f11fe9/attachment.bin>


More information about the Pkg-opt-media-team mailing list