From owner-freebsd-bugs Sun Jan 9 8:10:11 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id BD9F915A28 for ; Sun, 9 Jan 2000 08:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA00304; Sun, 9 Jan 2000 08:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from cichlids.com (as15-122.rp-plus.de [149.221.237.122]) by hub.freebsd.org (Postfix) with ESMTP id 3C383151EC for ; Sun, 9 Jan 2000 08:04:52 -0800 (PST) (envelope-from alex@cichlids.com) Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 4610CAB92 for ; Sun, 9 Jan 2000 17:04:57 +0100 (CET) Received: (from root@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id RAA06356; Sun, 9 Jan 2000 17:04:47 +0100 (CET) (envelope-from alex) Message-Id: <200001091604.RAA06356@cichlids.cichlids.com> Date: Sun, 9 Jan 2000 17:04:47 +0100 (CET) From: Alexander Langer Reply-To: alex@cichlids.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/16007: cdcontrol(1) defaulting do /dev/cdrom instead of /dev/cd0c Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16007 >Category: bin >Synopsis: cdcontrol(1) defaulting do /dev/cdrom instead of /dev/cd0c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 9 08:10:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Alexander Langer >Release: FreeBSD 4.0-CURRENT i386 >Organization: none >Environment: -current >Description: Since almost every program I know uses /dev/cdrom as default path to access the cd-rom, I think cdcontrol(1) should do, too. Acutally, it uses /dev/cd0c, which is somehow uncommon. Attached is the small patch to fix it. Comments? >How-To-Repeat: $ cdcontrol play >Fix: in /usr/src/usr.sbin/cdcontrol --- cdcontrol.c.old Sun Jan 9 16:59:57 2000 +++ cdcontrol.c Sun Jan 9 16:59:48 2000 @@ -46,7 +46,7 @@ #define ASTS_VOID 0x15 /* No current audio status to return */ #ifndef DEFAULT_CD_DRIVE -# define DEFAULT_CD_DRIVE "/dev/cd0c" +# define DEFAULT_CD_DRIVE "/dev/cdrom" #endif #ifndef DEFAULT_CD_PARTITION >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message