From owner-cvs-all Thu Nov 28 6:56:14 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 A3C5937B401; Thu, 28 Nov 2002 06:56:13 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BDFD43E88; Thu, 28 Nov 2002 06:56:13 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 6F46B5374; Thu, 28 Nov 2002 15:56:10 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: John Baldwin Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/sysinstall devices.c References: <200211271756.gARHuSA0089285@repoman.freebsd.org> From: Dag-Erling Smorgrav Date: Thu, 28 Nov 2002 15:56:10 +0100 In-Reply-To: <200211271756.gARHuSA0089285@repoman.freebsd.org> (John Baldwin's message of "Wed, 27 Nov 2002 09:56:28 -0800 (PST)") Message-ID: Lines: 33 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386--freebsd) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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 DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message