Bug 91763 - readcd -scanbus doesn't work on FreeBSD 6.0 and 5.4
Summary: readcd -scanbus doesn't work on FreeBSD 6.0 and 5.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Andrey Slusar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-13 17:50 UTC by Fabian Keil
Modified: 2006-01-15 17:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!