Date: Mon, 02 Dec 2002 13:52:26 -0500 (EST) From: John Baldwin <jhb@FreeBSD.org> To: Dag-Erling Smorgrav <des@ofug.org> Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/sysinstall devices.c Message-ID: <XFMail.20021202135226.jhb@FreeBSD.org> In-Reply-To: <xzpvg2hyc8l.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On 28-Nov-2002 Dag-Erling Smorgrav wrote: > 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 Looks good to me. -- John Baldwin <jhb@FreeBSD.org> <>< 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20021202135226.jhb>