Bug 24321

Summary: cdcontrol default still using old device name cd0c
Product: Base System Reporter: davidx <davidx>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description davidx 2001-01-14 08:50:01 UTC
cdcontrol default is still using old device name cd0c while FreeBSD 4.x
is already using new ATAPI interface and default cdrom device name is
already changed to /dev/acd0c, cdcontrol is simply not follow-up.

Fix: 

I think it is simple to fix it.
How-To-Repeat: davidbsd# cdcontrol
cdcontrol: no CD device name specified, defaulting to /dev/cd0c
Compact Disc Control utility, version 2.0
Type `?' for command list

cdcontrol> eject
cdcontrol: no disc in drive /dev/cd0c
cdcontrol>
Comment 1 Josef Karthauser 2001-01-14 16:35:53 UTC
On Sun, Jan 14, 2001 at 12:41:41AM -0800, davidx@viasoft.com.cn wrote:

> cdcontrol default is still using old device name cd0c while FreeBSD 4.x
> is already using new ATAPI interface and default cdrom device name is
> already changed to /dev/acd0c, cdcontrol is simply not follow-up.

cd0c isn't an old name, it's the name of the SCSI cdrom device.
I've just MFC'd a fix from -current which allows you to define the
default device to use in the CDROM environment variable.

After cvsup'ing you should be able to add something like the following
to your startup scripts:

    export CDROM=acd0

Joe
Comment 2 joe freebsd_committer freebsd_triage 2001-01-14 16:36:45 UTC
State Changed
From-To: open->closed

I've MFC'd revision 1.29.  This adds support for the CDROM enviroment 
settings to override the default cd device.