Bug 91763

Summary: readcd -scanbus doesn't work on FreeBSD 6.0 and 5.4
Product: Ports & Packages Reporter: Fabian Keil <freebsd-listen>
Component: Individual Port(s)Assignee: Andrey Slusar <anray>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Fabian Keil 2006-01-13 17:50:02 UTC
Since version 2.01 readcd has a scanbus option,
however it doesn't work on FreeBSD: 

fk@TP51 ~ $readcd -scanbus
readcd: Error 0. Cannot open SCSI driver.

Fix: 

This patch fixes the problem for me, I tested it with cdrtools and cdrtools-devel on FreeBSD 6.0 and 5.4.

http://www.fabiankeil.de/tmp/patch-readcd%3A%3Areadcd.c

The patch was sent to the cdrtools author and I believe
the problem will be fixed in one of the next alphas.

As it probably will take some time until the next
stable cdrtools version is out, I think it should be
fixed in the ports as well.
How-To-Repeat: Run readcd -scanbus on FreeBSD and compare the result with the output of cdrecord -scanbus.
Comment 1 Andrey Slusar freebsd_committer freebsd_triage 2006-01-15 14:38:26 UTC
Responsible Changed
From-To: freebsd-ports-bugs->anray

I'll take it.
Comment 2 Andrey Slusar freebsd_committer freebsd_triage 2006-01-15 17:10:05 UTC
State Changed
From-To: open->closed

Committed. Thanks!