[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: trixie: cdrecord can no longer write to CD



On Thu Nov 20, 2025 at 3:05 PM GMT, Thomas Schmitt wrote:
In libusal/scsi-linux-sg.c, check_linux_26(), line 254:

-        return ( 0==uname( &buf ) && sscanf(buf.release, "%d.%d", &gen, &tmp)>1 && tmp>=6);
+        return ( 0==uname( &buf ) && sscanf(buf.release, "%d.%d", &gen, &tmp)>1 && (gen>2 || tmp>=6));

This one would return 1 with 1.6 or higher. But
  https://en.wikipedia.org/wiki/Linux_kernel_version_history
says that kernel 1.x ended at 1.3.100.

Since the patch will only be applied to new Debian packages of cdrkit,
one may safely assume that the kernel version will be 6 or higher.

Yes, but on that basis, the entire check could be deleted, and one branch from every caller of it. Not that I'd object to merging your fix above, I should make clear!

The source package cdrkit produces the binary package genisoimage, which I *think* is still likely useful. (can't speak for cdrkit-doc or icedax). So the source package cdrkit should likely remain, but I wonder if there's any merit in keeping wodim around at all any more.

--
Jonathan Dowland
jmtd@debian.org
https://jmtd.net


Reply to: