From nobody@FreeBSD.org  Sun Jan 14 00:41:52 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 6EACC37B6BF
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 14 Jan 2001 00:41:41 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f0E8ffW29111;
	Sun, 14 Jan 2001 00:41:41 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200101140841.f0E8ffW29111@freefall.freebsd.org>
Date: Sun, 14 Jan 2001 00:41:41 -0800 (PST)
From: davidx@viasoft.com.cn
To: freebsd-gnats-submit@FreeBSD.org
Subject: cdcontrol default still using old device name cd0c
X-Send-Pr-Version: www-1.0

>Number:         24321
>Category:       misc
>Synopsis:       cdcontrol default still using old device name cd0c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 14 00:50:01 PST 2001
>Closed-Date:    Sun Jan 14 08:36:45 PST 2001
>Last-Modified:  Sun Jan 14 08:40:00 PST 2001
>Originator:     David Xu
>Release:        FreeBSD 4.2-stable
>Organization:
viasoft
>Environment:
FreeBSD davidbsd.viasoft.com.cn 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:
02:55 GMT 2000     jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC  i386
>Description:
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.




>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>
>Fix:
I think it is simple to fix it.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joe 
State-Changed-When: Sun Jan 14 08:36:45 PST 2001 
State-Changed-Why:  
I've MFC'd revision 1.29.  This adds support for the CDROM enviroment 
settings to override the default cd device. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24321 

From: Josef Karthauser <joe@tao.org.uk>
To: davidx@viasoft.com.cn
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/24321: cdcontrol default still using old device name cd0c
Date: Sun, 14 Jan 2001 16:35:53 +0000

 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
 
>Unformatted:
