Ticket #94 (assigned bug)

Opened 2 years ago

Last modified 2 years ago

Fail more gracefully on unsupported media

Reported by: squall38 Owned by: scdbackup
Priority: minor Milestone: 0.3.2
Component: cdrskin Version:
Keywords: Cc:

Description

cdrskin gets really scary when you attempt to use unsupported media:


$ cdrskin data.iso
cdrskin 0.2.6 : limited cdrecord compatibility wrapper for libburn
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done
cdrskin: beginning to burn disk
Waiting for reader process to fill input buffer ... input buffer ready.
cdrskin: FATAL : SCSI error condition on write : key=5 asc=2Ch ascq=00h
cdrskin: FATAL : Burn run failed
Track 01: Total bytes read/written: 0/0 (0 sectors).
cdrskin: FATAL : Fifo still contains data after burning has ended.
cdrskin: FATAL : 4194304 bytes left.
cdrskin: FATAL : This indicates an overflow of the last track.
cdrskin: NOTE : The media might appear ok but is probably truncated.

How about something like "Media in drive not supported"?

Change History

follow-up: ↓ 2   Changed 2 years ago by scdbackup

  • owner changed from pygi to scdbackup
  • status changed from new to assigned
  • milestone set to 0.3

Please try wether the current development version does already fulfill your expectations.

svn co http://libburnia-svn.pykix.org/libburn/trunk libburn_pykix
cd libburn_pykix
bootstrap; configure; make

or

wget http://scdbackup.sourceforge.net/cdrskin-0.2.7.tar.gz
tar xzf cdrskin-0.2.7.tar.gz
cd cdrskin-0.2.7
configure; make

In both cases

cdrskin/cdrskin

is the binary to test.

It should refuse on unsuitable media. Suitable are CD-R, CD-RW, DVD+RW, DVD-RAM and formatted DVD-RW (to be achieved with a run of option blank=format_overwrite). See

man cdrskin/cdrskin.1

in reply to: ↑ 1   Changed 2 years ago by squall38

I can't reproduce now since I don't have any media that's left unsupported.

  Changed 2 years ago by scdbackup

That's progress :))

Unsupported would still be: DVD-RW blank (virgin or blanked by cdrecord blank= or by dvd+rw-format -blank), DVD-R, DVD+R, all double layer types, HD-DVD, BD.

Note: See TracTickets for help on using tickets.