From owner-cvs-all Mon Dec 2 10:52:34 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 351C537B407 for ; Mon, 2 Dec 2002 10:52:32 -0800 (PST) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id F26A943ECF for ; Mon, 2 Dec 2002 10:52:28 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 3535 invoked from network); 2 Dec 2002 18:52:34 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 2 Dec 2002 18:52:34 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id gB2IqIuH034255; Mon, 2 Dec 2002 13:52:21 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 02 Dec 2002 13:52:26 -0500 (EST) From: John Baldwin To: Dag-Erling Smorgrav Subject: Re: cvs commit: src/usr.sbin/sysinstall devices.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 28-Nov-2002 Dag-Erling Smorgrav wrote: > John Baldwin writes: >> Log: >> Don't use fake 'c' or 'a' BSD partitions for CD-ROM devices. This fixes >> sysinstall to create /cdrom entries in /etc/fstab that just use the >> raw CD-ROM device /dev/cd0, etc. > > I've also had this in my tree for ages: > > Index: usr.sbin/cdcontrol/cdcontrol.c > =================================================================== > RCS file: /home/ncvs/src/usr.sbin/cdcontrol/cdcontrol.c,v > retrieving revision 1.42 > diff -u -r1.42 cdcontrol.c > --- usr.sbin/cdcontrol/cdcontrol.c 18 Oct 2002 22:03:38 -0000 1.42 > +++ usr.sbin/cdcontrol/cdcontrol.c 20 Oct 2002 13:15:03 -0000 > @@ -51,7 +51,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/cd0" > #endif > > #ifndef DEFAULT_CD_PARTITION > > Without this patch, you get > > cdcontrol: no CD device name specified, defaulting to /dev/cd0c > cdcontrol: /dev/cd0cc: No such file or directory Looks good to me. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message