Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2002 15:56:10 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/sysinstall devices.c
Message-ID:  <xzpvg2hyc8l.fsf@flood.ping.uio.no>
In-Reply-To: <200211271756.gARHuSA0089285@repoman.freebsd.org> (John Baldwin's message of "Wed, 27 Nov 2002 09:56:28 -0800 (PST)")
References:  <200211271756.gARHuSA0089285@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin <jhb@FreeBSD.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpvg2hyc8l.fsf>